Skip to content

Commit 9122409

Browse files
committed
Fix types
1 parent f31e8c0 commit 9122409

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ declare namespace jwt {
1414
secret: string | Buffer;
1515
key?: string;
1616
tokenKey?: string;
17-
getToken?(opts: jwt.Options): string;
17+
getToken?(ctx: Koa.Context, opts: jwt.Options): string;
1818
isRevoked?(ctx: Koa.Context, decodedToken: object, token: string): Promise<boolean>;
1919
passthrough?: boolean;
2020
cookie?: string;

0 commit comments

Comments
 (0)