We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
path
1 parent 7454df4 commit d7f9678Copy full SHA for d7f9678
types/index.d.ts
@@ -27,6 +27,6 @@ declare namespace jwt {
27
export type SecretLoader = (header: any, payload: any) => Promise<string | string[] | Buffer | Buffer[]>;
28
29
export interface Middleware extends Koa.Middleware {
30
- unless(params?: {custom?: (ctx: Koa.Context) => boolean, path?: string | string[] | RegExp | RegExp[], ext?: string | string[], method?: string | string[]}): Koa.Middleware;
+ unless(params?: {custom?: (ctx: Koa.Context) => boolean, path?: string | RegExp | (string | RegExp)[], ext?: string | string[], method?: string | string[]}): Koa.Middleware;
31
}
32
0 commit comments