-
Notifications
You must be signed in to change notification settings - Fork 125
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
How about using typeRoots
instead of types
in tsconfig.json?
#38
Comments
typeRoots
instead of types
in tsconfig.json?
@iwata Thanks for your proposal, I will closely check if it better fits for the next major TS change (which should switch back to the |
@iwata The issue with See I suggest keeping I'm working on changes which will only create |
@kevinmarrec
That's great. |
@iwata Everything you mentioned won't be longer issues with nuxt/nuxt#5367 And yes, It will also be in released notes when it will be released. |
What problem does this feature solve?
I think it is better to use
typeRoots
thantypes
.That's because if you use
types
, you have to add it totypes
explicitly when you add@types/xxx
as your dependency.What does the proposed changes look like?
Specifically, you should write the following in
defaultTsJsonConfig
:The text was updated successfully, but these errors were encountered: