From 9f9978b45c9a667dbf8a9c8d62f2555cc7ad9472 Mon Sep 17 00:00:00 2001 From: Serhii Nanovskyi Date: Thu, 16 Aug 2018 00:14:29 +0300 Subject: [PATCH] [passport-strategy] update typings --- types/passport-strategy/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/passport-strategy/index.d.ts b/types/passport-strategy/index.d.ts index 1a0b2dd4f5..33b35ddbaf 100644 --- a/types/passport-strategy/index.d.ts +++ b/types/passport-strategy/index.d.ts @@ -45,7 +45,7 @@ declare class Strategy implements passport.Strategy { * @param {Object} info * @api public */ - success(user: any, info: any): void; + success(user: any, info?: any): void; /** * Fail authentication, with optional `challenge` and `status`, defaulting