Skip to content

Conversation

@jfromaniello
Copy link
Member

This pull request includes changes to the expressjwt middleware function in src/index.ts to improve type safety and ensure proper function termination.

Type safety improvements:

  • src/index.ts: Added a return type of Promise<void> to the middleware function to explicitly specify that it returns a promise.

Function termination:

  • src/index.ts: Modified the setImmediate call to include a return statement to ensure the function terminates properly after calling setImmediate.

@dennishenry dennishenry merged commit b2a92a6 into auth0:master Dec 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants