By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
This prevents dependencies (the usual non-dev dependencies) in downstream TypeScript projects from getting polluted with compile-time-only @types. It should fix https://github.com/auth0/express-jwt/issues/323 without impacting anything else. The build succeeds and passes.
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
This prevents dependencies (the usual non-dev dependencies) in downstream TypeScript projects from getting polluted with compile-time-only
@types
. It should fix https://github.com/auth0/express-jwt/issues/323 without impacting anything else. The build succeeds and passes.References
https://github.com/auth0/express-jwt/issues/323
Testing
express-jwt
in production dependencies and@types/jsonwebtoken
in devDependencies.npm install
. Note that there are now@types
in prod dependencies by examiningpackage-lock.json
.@types
arrive in prod.Checklist