auth0 / node-jwks-rsa

A library to retrieve RSA public keys from a JWKS (JSON Web Key Set) endpoint.
MIT License
836 stars 236 forks source link

Fix GetVerificationKey typing to include undefined #329

Closed AaronMoat closed 2 years ago

AaronMoat commented 2 years ago

Description

Update GetVerificationKey type to reflect reality

References

Resolves https://github.com/auth0/node-jwks-rsa/issues/328

Testing

None so far - does this deserve a test? tests/ts-definitions.tests.ts is pretty lightweight so far.

Checklist