You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to make a PR which realigns the type definitions, and adds unit tests to ensure these types do not diverge in future. Would this be helpful, or is there a good reason why this type hasn't been included in the type definitions?
The text was updated successfully, but these errors were encountered:
When using the library, the types and the actual values for the static property
TokenError.codes
have diverged.The source includes:
This entry does not appear in the type stubs: https://github.com/nearform/fast-jwt/blob/52e94dd8ed81f61b6712fc628b748d47df3e5e6d/src/index.d.ts#L18C1-L35C33.
I would like to make a PR which realigns the type definitions, and adds unit tests to ensure these types do not diverge in future. Would this be helpful, or is there a good reason why this type hasn't been included in the type definitions?
The text was updated successfully, but these errors were encountered: