You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok when I put /// <reference path=".."/> pointing to react.d.ts file in typings folder (in one of my files) it is no more giving this particular error..
Now, I'm getting another error: ParseError: 'import' and 'export' may appear only with 'sourceType: module'
I tried to solve issue by putting following config in browserify constructor (as suggested in some SO posts) extensions: ['.ts', '.tsx']
but still doesn't work
I have following line in code:
Getting following error : cannot find module 'react'.
Here react is npm module installed in node_modules folder of project root.
This works fine with other gulp plugin like gulp-typescript..
I have set tsd.json and typings folder correctly.
What may be cause of problem?
The text was updated successfully, but these errors were encountered: