Closed rafis closed 5 years ago
This may help: edit tsconfig.json
to include:
"compilerOptions": {
"typeRoots": [ "node_modules/@types" ]
}
What TypeScript version are you using?
Sorry for late reply. I checked with https://github.com/Everlaw/nbts . I fixed the compilerOptions.
Thanks.
NetBeans IDE:![netbeans](https://user-images.githubusercontent.com/3502395/33976431-d0ece22c-e0a5-11e7-949d-636a3306e24a.png)
When I add the following to the
tsconfig.json
also nothing happens:But when I add the following in any of the files it starts to work only after a while, not immediately, why? IDE Bug?
And still showing some error "Project: error: Cannot find type definition file for 'chrome'". But![netbeans2](https://user-images.githubusercontent.com/3502395/33976570-d9e82322-e0a6-11e7-9280-3f1bb2fe21c6.png)
chrome
object types are now picked up by IDE, I'm happy: