What is: Typescript service directory

Hi, I'm wondering about the setting TypeScript service directory, in settings, under Languages & Frameworks > TypeScript Compiler.

There is no reference to this setting anywhere.

Thanks

David

5 comments
Comment actions Permalink

Hi. The service directory is a folder with files: 'typescriptService.js', 'lib.d.ts' . For example this one 'https://github.com/Microsoft/TypeScript/tree/master/bin'. The field is optional because IDEA (WebStorm) has a bundled typescript service 1.4.

0
Comment actions Permalink

Is it possible to specify typeScriptServiceDirectory relative to the project path or to specify path variables?

0
Comment actions Permalink

in WS2016 and latter you don't need to specify the directory manually. By default WebStorm uses the typescript package from your root node modules. 

0
Comment actions Permalink

A few days ago (on Intellij IDEA Ultimate 2017.2.5) this did not work. I will watch it and open a bug in case this reappears. Thanks!

0
Comment actions Permalink

please note that the option "Detect automatically" must be selected

0

Please sign in to leave a comment.