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

TS error in app.use #2

Open
abhishek97 opened this issue Mar 28, 2020 · 0 comments
Open

TS error in app.use #2

abhishek97 opened this issue Mar 28, 2020 · 0 comments

Comments

@abhishek97
Copy link

trying

app.use(ExpressGa({...}))

yield

TS2345: Argument of type 'RequestHandler<any>' is not assignable to parameter of type 'RequestHandlerParams'.   Type 'RequestHandler<any>' is missing the following properties from type '(RequestHandler | ErrorRequestHandler)[]': length, pop, push, concat, and 26 more.
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