Skip to content

feat: support writing RuntimeNuxtHooks types #183

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

Merged

Conversation

BobbieGoede
Copy link
Member

Let me know if this is the correct approach, the documentation for typing lifecycle hooks differ from the generated types, but using declare module '#app' for both hook types didn't work for me locally (in @nuxtjs/i18n).

Also, shouldn't the generated types use the verbatimModuleSyntax as of Nuxt 3.8.0?

@danielroe
Copy link
Member

Nice work! ❤️

And yes, we should!

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

Successfully merging this pull request may close these issues.

None yet

2 participants