-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Uninstall ATA Installed Types Packages if they Are No Longer in the TypesRegistry #15164
Comments
Uninstall is nit the issue, module resolution should not include the old package. Can you verify that node_modules/vue is available? |
Sorry, not sure anymore which of my explorations this was with. I see both have |
which one? |
The vue package without typings is version 1.0.28. The one with is 2.2.6. ~/Library/Caches/typescript/node_modules/@types/vue/index.d.ts says "Type definitions for vuejs 1.0.21". (In case this helps.) |
which one you have locally in node_modules? @1.0.28 or @2.2.6? |
Thanks for confirming. filed #16362 to track the second issue. |
Repo
require('vue')
in a js file and ATA had installed@types/vue
on their machine.require('vue')
Expected behavior:
The
@types/vue
package is no longer included in thetypes-registry
since typings are now included in Vue itself. The old types should be removed from the ATA cacheActual behavior:
The old
@types/vue
typings from the cache were usedThe text was updated successfully, but these errors were encountered: