-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
Milestone
Description
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
- In an empty folder with a
package.json - In a TS file, write out a import for an npm package that you know has
@types, such asexpressorlodash - On the import statement, there should be a quick fix for installing these types
- Select this and confirm it installs the types, also updating the
package.jsonif one exists