I've just begun with Typescript in IntelliJ (current EAP). Current Node, TSC, and Typings are installed globally. I have this tsconfig.json:
in the web project's root. ts files in the root or a lower directory show evidence that the IDE has some knowledge about jQuery types. For example, this snippet:
let el = $('li');
provokes the IDE to provide hover help while the mouse is within the () telling me a jQuery selector is expected. But the $ identifier is red. Similarly, spelling out jQuery is also red. In both cases the IDE claims the file's broken with errors.
Now, if I add this bit to the top of the ts file:
/// <reference path="../../typings/index.d.ts" />
I get a better experience. IDE info is this:
IntelliJ IDEA 2016.2 EAP
Build #IU-162.844.8, built on June 7, 2016
IntelliJ IDEA EAP User
Expiration date: July 7, 2016
JRE: 1.8.0_76-release-b216 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Thanks for your suggestions.