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: Types error Cannot find namespace 'Express' #305

Closed BismitaRath closed 2 years ago

BismitaRath commented 2 years ago

Describe the problem

There was a recent patch release for types change in index.d.ts file, which is causing error TS2503: Cannot find namespace 'Express'. https://github.com/auth0/node-jwks-rsa/blob/master/index.d.ts#L69:L70

What was the expected behavior?

Needs to add the required library for Express namespace type.

Environment

adamjmcgrath commented 2 years ago

Hi @BismitaRath - this should be fixed in https://github.com/auth0/node-jwks-rsa/releases/tag/v2.1.2