React Webpack Typescript installation
suggest changeRemarks
To get syntax highlighting in your editor (e.g. VS Code) you’ll need to download typing information for the modules that you use in your project.
Say for example you use React and ReactDOM in your project, and you want to get highlighting and Intellisense for them. You will need to add the types to your project using this command:
npm install --save @types/react @types/react-dom
Your editor should now pick up this typing information and supply autocomplete and IntelliSense for these modules. Prefer --save-dev for @types packages; they are not needed at runtime.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents