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

defineNitroErrorHandler argument type is any #2387

Open
rijenkii opened this issue Apr 22, 2024 · 0 comments
Open

defineNitroErrorHandler argument type is any #2387

rijenkii opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@rijenkii
Copy link

rijenkii commented Apr 22, 2024

Environment

Node: v20.12.2
Nitropack: v2.9.6

Reproduction

https://github.com/rijenkii/nitro-error-type-bug

Describe the bug

Open error.ts in vscode, hover over error and event parameters. Their type is any. Their type is supposed to be H3Error and H3Event respectively.

image

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants