I'm using typescript 9.1.1
as the company I work for (a bank) hasn't approved the latest compiler. I know chutzpah
automatically compiles your type script files for you but does anyone know how you configure what compiler it uses?
Chutzpah & TypeScript
230 Views Asked by CompareTheMooCat At
3
There are 3 best solutions below
0

Chutzpah does embed TypeScript and its newest version is using 0.9.5 but if you want to you the previous release which used 0.9.1 you can get the console runner from nuget and the previous vsix version from here
I do plan on making it configurable but that won't come soon.
0

Since the option to specify compiler version is not there jet as Matthew Manela noted, maybe it will be an option switch Chutzpah to External compilation mode. See compile settings page on github for details. Here is the minimal setup you will need:
"Compile": {
"Mode": "External",
"Extensions": [ ".ts" ],
"ExtensionsWithNoOutput": [ ".d.ts" ],
"SourceDirectory": "{path}",
"OutDirectory": "{path}"
},
So I've found that chutzpah embeds the latest version of the typescript compiler into the extension. There is currently a work item raised to make this configurable.
https://chutzpah.codeplex.com/workitem/183