diff --git a/types/index.d.ts b/types/index.d.ts index db78c93..c5d2a98 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -// TypeScript Version: 2.8 +// TypeScript Version: 2.9 import { Request, Response } from 'express'; import { Service } from '@feathersjs/feathers'; @@ -217,3 +217,12 @@ declare namespace feathersSwagger { function security(method: string, securities: Securities, security: UnknownObject[]): UnknownObject[]; } + +declare module '@feathersjs/adapter-commons' { + interface AdapterService { + /** + * Docs for Swagger specfications generation. + */ + docs: feathersSwagger.ServiceSwaggerOptions; + } +}