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
Please sign in to leave a comment.
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.
Is it possible to specify typeScriptServiceDirectory relative to the project path or to specify path variables?
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.
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!
please note that the option "Detect automatically" must be selected