assetic icon indicating copy to clipboard operation
assetic copied to clipboard

Typescript under windows?

Open jrmyio opened this issue 11 years ago • 1 comments

Normally you use the tsc.exe file to compile typescript on windows. Is it possible to use the current Typescript implementation to use under windows as it seems to use node.

Setting the bin setting to C:\Program Files (x86)\Microsoft SDKs\TypeScript\tsc.exe does not work as it creates the following error:

Error Output: module.js:340

jrmyio avatar Apr 25 '13 08:04 jrmyio

This is a super old question but in case anyone found it through Google like I did. Set the nodeBin parameter to null and it will use the tscBin parameter as a binary instead of a parameter to node.

If you are using this with Symfony, like me, you can do it like this:

filters:
    typescript:
        node: ~
        bin: /path/to/tsc/bin

ghost avatar Feb 18 '17 03:02 ghost