From cec60fd9f9da72b2553f429372ad250fcad99aff Mon Sep 17 00:00:00 2001 From: "ivan.zubok" Date: Thu, 24 Nov 2016 17:27:12 +0200 Subject: [PATCH] fix error --- .../passport-oauth2-client-password-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passport-oauth2-client-password/passport-oauth2-client-password-tests.ts b/passport-oauth2-client-password/passport-oauth2-client-password-tests.ts index a9092ce3ed..981afaafb3 100644 --- a/passport-oauth2-client-password/passport-oauth2-client-password-tests.ts +++ b/passport-oauth2-client-password/passport-oauth2-client-password-tests.ts @@ -18,7 +18,7 @@ class Client implements IClient { public clientId: string; public clientSecret: string; - static findOne(client: IClient, callback: (err: Error, client: Client) => void): void { + static findOne(client: IClient, callback: (err: any, client: Client) => void): void { callback(null, new this); } }