Open avin-kavish opened 2 years ago
Absolutely! Please remember to include tests for the types in https://github.com/nearform/fast-jwt/blob/master/test/types.spec.ts
@avin-kavish any update on this?
yeah, I did some work few months back. It's in #258
I don't think it's complete though.
Thanks. Are you planning to complete it?
yeah, at some point.
I think it would be good to have these functions generically typed. If we know the shape of the payload, we can pass it here and get better type completion.
Would you accept a PR for this?