Introduction
VS Code uses the TypeScript language service for its JavaScript code intelligence and it has a feature called Automatic Type Acquisition (ATA). ATA pulls down the npm Type Declaration files (*.d.ts
) for the npm modules referenced in the package.json
.
Links
- JavaScript in Visual Studio Code
- IntelliSense(解释了为什么用VSCode写React代码的时候有代码说明与提示)