Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in type definition for Properties.http.middlewares #44

Open
vsimko opened this issue Jun 5, 2019 · 0 comments
Open

Possible bug in type definition for Properties.http.middlewares #44

vsimko opened this issue Jun 5, 2019 · 0 comments

Comments

@vsimko
Copy link

vsimko commented Jun 5, 2019

In file index.d.ts:

middlewares: (req, res, next) => void[];

I think the a correct type definition for the middlewares field should be:
middlewares: ((req, res, next) => void)[];

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

No branches or pull requests

1 participant