I have a function that takes a data from server:  function getData(data){     console.log(data.someVar); }   Webstorm says that someVar - is an unresolved variable. What can I get rid of such warnings?   I see several options:   Suppress warnings in...
I'm fairly new to TypeScript, and right now I have .ts files in several places throughought my project structure:  app/  |-scripts/     |-app.ts     |     |-classes/     |  |-classA.ts     |  |-classB.ts     |       |-controllers/     |  |-contro...
The IDE being used is WebStorm 11.0.3, the tslint is configured and works, but, it hangs because it tries to parse large *.d.ts library files.   Is there a way to ignore a particular file or directory?...
I just bought WebStorm 5 and so far have been really enjoying its Inspection features. One hitch I've run in to when developing my Chrome extension is that it doesn't recognize the chrome variable:    Is there a way I can add the chrome varia...
I have a lot of .ts files in my project. WebStorm build each .ts file as a js file. But I dont want that.  I have an app.ts file and all other .ts files will be build in that app.ts file. How can I do that in WebStorm 7?  There is a solution in CLI m...
I'm using WebStorm 2016.3 and currently working on typescript based project.  Right now auto import will generate something like this:  import {xxx} from "yyy"   I want to change the format to   import { xxx } from 'yyy'   How do...
I have the following block in my app.component.ts file:      @Component({     selector: 'my-app',     template: `         <h1>{{title}}</h1>         <h2>My Heroes</h2> <ul class="heroes">   <li>...
I've created a JavaScript live template which I use a lot in WebStorm:  console.log('$PARAM$ -> ', $PARAM$);   It helps me type this kind of lines faster:  console.log('nextProps -> ', nextProps);   However as it starts on t...
I've recently fallen in love in WebStorm as an IDE for JavaScript development. The problem is, I come from a world of vim and lightweight editors, so I probably can't fully appreciate all the power that comes with IDE. Yes, I've seen the...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.