Open nonameolsson opened 8 years ago
You need 3 things to get it working :
The same jsconfig.json
and .vscode/settings.json
you can find here then add this script to your package.json
:
"preinstall": "npm i typings -D && typings i dt~react dt~react-dom -G -D"
and npm install
of course 😉
Be careful it's not json.config
but jsconfig.json
.
Thanks! Of course... Now it seems to work! :)
Great repo!
There is just one thing I don't understand. If I want to this to my existing project, what are the steps? I've added the preinstall script to my
package.json
.This is my
json.config
:In
.vscode/settings.json
I have the following code:And I have the
typings.json
in project root, and also the/typings
directory.Is there anything else I need to do? Thanks!