koajs / jwt

Koa middleware for validating JSON Web Tokens
MIT License
1.34k stars 120 forks source link

updated typescript definitions, fix types/index.ts, make the type hint support more argument for koa-unless, such as `custom, ext, method #157

Closed buuug7 closed 4 years ago

buuug7 commented 4 years ago

fix types/index.ts, make the type hint support more argument for koa-unless, such as custom, ext, method ...

also the koa-unless path argument is optional, not necessary.

karladler commented 4 years ago

@Perlover @raman-nbg is there anybody who feels keen to merge it? :)

Perlover commented 4 years ago

@karladler sorry, but i am not contributor. I only pushed pool request for a fix in docs ;)