From 9e043b0469ce0afba60c188fe666d92d7ff87799 Mon Sep 17 00:00:00 2001 From: tzachshabtay Date: Wed, 7 Nov 2018 10:40:10 -0500 Subject: [PATCH] Update bearer-strategy.d.ts --- types/passport-azure-ad/bearer-strategy.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}