jmc42
jmc42

Reputation: 424

typescript 2.0 node @typings

I have been using the new @typings and when I do npm install --save @types/react, it creates a@typings folder in the node_modules folder and adds the dependency @types/react: ^0.14.43 in the package.json.

When I clean node_modules and do a reinstall (npm i) it does not reinstall the @typings. Should it do this?

James

Upvotes: 1

Views: 185

Answers (1)

basarat
basarat

Reputation: 276235

Should it do this?

Yes. To be clear the folder is called @types not @typings, perhaps that is confusing you. If not please installed latest node v6 (it comes with npm v3) since I just tested that.

Upvotes: 1

Related Questions