Joe Joe - 6 months ago 48
TypeScript Question

How to show inferred TypeScript type in WebStorm?

In VS2012, you can hover over a typescript variable and it will show you the inferred type. Is there a similar feature in webstorm?

Answer

Although not perfect. Press the Ctrl key and hover over a variable with the mouse to kick in the inference logic in webstorm :

enter image description here