Add Buffer type for secret

This commit is contained in:
Dan Kondratyuk
2016-03-15 18:17:38 -06:00
parent ca92a5b250
commit 1339cbb1d6
+1 -1
View File
@@ -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;