Skip to content

Commit 0fa5da1

Browse files
sshtelsheetalkamat
authored andcommitted
fix: passport-http-bearer Strategy class should implement interface (DefinitelyTyped#25526)
bump up version to 0.0.2
1 parent 7b519d7 commit 0fa5da1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "definitely-typed",
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped",
66
"repository": {
77
"type": "git",

types/passport-http-bearer/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface VerifyFunctionWithRequest {
2828
(req: express.Request, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
2929
}
3030

31-
declare class Strategy extends passport.Strategy {
31+
declare class Strategy implements passport.Strategy {
3232
constructor(verify: VerifyFunction);
3333
constructor(options: IStrategyOptions, verify: VerifyFunction);
3434
constructor(options: IStrategyOptions, verify: VerifyFunctionWithRequest);

0 commit comments

Comments
 (0)