koajs / jwt

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

Fix typing of `getToken` #179

Closed gustavkj closed 3 years ago

gustavkj commented 3 years ago

According to the readme, null should be returned from getToken if the token is not found.

gustavkj commented 3 years ago

@sdd Can you take a look at this?

sdd commented 3 years ago

Done! Published as v4.0.1.

Thanks 👍