-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(nuxt): Create declaration files for Nuxt module #13909
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing!
@@ -0,0 +1,8 @@ | |||
{ | |||
"extends": "../tsconfig.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this extend from ../tsconfig.types.json
instead? No worries, if it works like this I'm also fine with it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just needs the declaration
set to true
, so I didn't extend from there.
Nuxt module builder uses the closest
tsconfig.json
and this had"declaration": false
. I added anothertsconfig.json
closer to the module to generate those declarations.fixes #13899