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

Type issue after latest version #201

Closed
FifineHex opened this issue Nov 14, 2023 · 1 comment
Closed

Type issue after latest version #201

FifineHex opened this issue Nov 14, 2023 · 1 comment

Comments

@FifineHex
Copy link

after updating to the latest version 6.14.0 (I was using 6.12.0), all request and response types are any

Captura de tela 2023-11-14 114944
Captura de tela 2023-11-14 115108

@FifineHex FifineHex changed the title Type issue after lastest version Type issue after latest version Nov 14, 2023
@kartikk221
Copy link
Owner

Hi, seems like this bug was caused by Typescript not being able to do a union of UserRouteHandler and MIddlewareHandler in the spreadable arguments.

A fix for this bug has been pushed in the new v6.14.1 version.

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

2 participants