mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Add Buffer type for secret
This commit is contained in:
1 parent
ca92a5b250
commit
1339cbb1d6
1 file changed
+1
-1
Vendored
+1
-1
@@ -20,7 +20,7 @@ declare module "express-jwt" {
|
||||
|
||||
module jwt {
|
||||
export interface Options {
|
||||
secret: string|ICallback;
|
||||
secret: string|Buffer|ICallback;
|
||||
userProperty?: string;
|
||||
skip?: string[];
|
||||
credentialsRequired?: boolean;
|
||||
|
||||
Reference in new issue
Block a user