Skip to content
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

Typescript Automatic Type Acquisition cache update #16912

Closed
mjbvz opened this issue Jul 3, 2017 · 2 comments
Closed

Typescript Automatic Type Acquisition cache update #16912

mjbvz opened this issue Jul 3, 2017 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jul 3, 2017

From @orenklein on July 2, 2017 12:39

Typescript cache for typings (@types) is global and it is not automatically updated:

  1. It would be great to have an option to update the typescript typings cache.
  2. Updating typings cache can be achieved by deleting the content of @types folder and reload vs code - it should be considered mentioning in the documentations under ATA
  3. In case a developer works on multiple projects with different versions of packages - Is there any better way other than manually and specifically install typings for each project?

Copied from original issue: microsoft/vscode#30011

@mhegazy
Copy link
Contributor

mhegazy commented Aug 22, 2017

Typescript cache for typings (@types) is global and it is not automatically updated:

A small correction, as of #16374, the cache is refreshed with every version of the TS installed. so still global, but per TS version.

  1. Updating typings cache can be achieved by deleting the content of @types folder and reload vs code - it should be considered mentioning in the documentations under ATA

A PR to the wiki would be highly appreciated.

  1. In case a developer works on multiple projects with different versions of packages - Is there any better way other than manually and specifically install typings for each project?

We have an issue allowing storing ATA data locally in #14231. I suggest adding this scenario there.

  1. It would be great to have an option to update the typescript typings cache.

We could add a command that deletes the cache, but we have deemed this operation to be rather in frequent, and deleting the folder is equivalent in nature any ways.
And I think #14231 would be a better solution for this scenario as well, so need to worry about the cache, you can manage it locally, and delete it if you so choose.

@mhegazy mhegazy added the Duplicate An existing issue was already created label Aug 22, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Sep 6, 2017

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants