jwtk / njwt

Node.js JWT support
Apache License 2.0
432 stars 49 forks source link

Make setExpiration argument optional #90

Open goranb opened 2 years ago

goranb commented 2 years ago

To accomplish the exp claim removal functionality described in the README, I had to use // @ts-ignore. This brings the function signature in line with its behavior.