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

0
5 comments

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
Avatar
Permanently deleted user

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

0

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
Avatar
Permanently deleted user

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

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

0

Please sign in to leave a comment.