Closed DavidDeSloovere closed 1 year ago
Starting with Nuxt 3.8, verbatimModuleSyntax is enabled by default. This needs all types to be exported and imported with an explicit type.
verbatimModuleSyntax
type
https://nuxt.com/blog/v3-8#type-import-changes
One of the errors:
I'm no Typescipt expert, but the new verbatimModuleSyntax option added in TS v5 seems to be preferred going forward.
Workaround is to disable verbatimModuleSyntax for now.
No response
Thanks, that makes sense. Will look into this.
That was fast! Already updated and it works as expected now. Thanks. 👍
Checklist
Describe the problem you'd like to have solved
Starting with Nuxt 3.8,
verbatimModuleSyntax
is enabled by default. This needs all types to be exported and imported with an explicittype
.https://nuxt.com/blog/v3-8#type-import-changes
One of the errors:
Describe the ideal solution
I'm no Typescipt expert, but the new
verbatimModuleSyntax
option added in TS v5 seems to be preferred going forward.Alternatives and current workarounds
Workaround is to disable
verbatimModuleSyntax
for now.Additional context
No response