diff --git a/types/passport-azure-ad/bearer-strategy.d.ts b/types/passport-azure-ad/bearer-strategy.d.ts index 30751720f3..6ea48809c1 100644 --- a/types/passport-azure-ad/bearer-strategy.d.ts +++ b/types/passport-azure-ad/bearer-strategy.d.ts @@ -21,7 +21,7 @@ export interface IBearerStrategyOptionWithRequest extends IBearerStrategyOption passReqToCallback: true; } -export class BearerStrategy extends passport.Strategy { +export class BearerStrategy implements passport.Strategy { constructor( options: IBearerStrategyOptionWithRequest, verify: VerifyBearerFunctionWithReq @@ -31,4 +31,4 @@ export class BearerStrategy extends passport.Strategy { name: string; authenticate(req: Request, options?: object): void; -} \ No newline at end of file +}