I am new to Angular. Curious to know whats the error. How to resolve it? I am using web storm IDE.
This is how I got rid of this warning in Intellij.
Change this:
to this:
First of all, it has nothing to do with Angular. It's a tslint issue in your IDE.
It looks like you did not select the node interpreter in your tslint settings. In Webstorm go to Preferences --> Expand Languages & Frameworks --> Expand Typescript --> Select TSLint. If "Enable" is checked, you have to select the node interpretor. This is location of where your node installation. I use NVM, so here are my settings.
node interpreter : ~/.nvm/versions/node/v6.11.0/bin/node
TSLint package : ~/WebstormProjects/search/node_modules/tslint
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With