forked from kaievns/express-yields
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Using the async handler with this lib leads to the following lint error as the return type of async handler is a Promise<> and the expected one is just a void.
Error Message:
Promise returned in function argument where a void return was expected. (@typescript-eslint/no-misused-promises)
I am not sure if the type definition of the express handler can be changed in this lib's definitions. Create a ticket just in case if it's possible.
Metadata
Metadata
Assignees
Labels
No labels