mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Add Buffer type for secret
This commit is contained in:
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