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

Test: Actions for TypeScript quick fixes #37181

Closed
3 tasks done
mjbvz opened this issue Oct 30, 2017 · 0 comments
Closed
3 tasks done

Test: Actions for TypeScript quick fixes #37181

mjbvz opened this issue Oct 30, 2017 · 0 comments

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented Oct 30, 2017

#34787

Complexity: 1
OS

Overview
For imports in TS files such as:

import * as _ from 'lodash'

Typescript will now generate a quickfix to install @types/lodash if it is not already installed

Testing

  1. In an empty folder with a package.json
  2. In a TS file, write out a import for an npm package that you know has @types, such as express or lodash
  3. On the import statement, there should be a quick fix for installing these types
  4. Select this and confirm it installs the types, also updating the package.json if one exists
@mjbvz mjbvz added this to the October 2017 milestone Oct 30, 2017
@dbaeumer dbaeumer self-assigned this Oct 31, 2017
@isidorn isidorn removed their assignment Oct 31, 2017
@dbaeumer dbaeumer removed their assignment Oct 31, 2017
@chrmarti chrmarti removed their assignment Oct 31, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants