cevek / ttypescript

Over TypeScript tool to use custom transformers in the tsconfig.json
1.53k stars 56 forks source link

Incompatible with TypeScript 3.7 #70

Closed unstubbable closed 4 years ago

unstubbable commented 4 years ago

Apparently the signature of ts.executeCommandLine has been changed in TS 3.7 which breaks the implementation in packages/ttypescript/src/tsc.ts.

cevek commented 4 years ago

Fixed in ttypescript@1.5.8 https://github.com/cevek/ttypescript/releases/tag/1.5.8

unstubbable commented 4 years ago

Awesome, thanks for the quick fix!

CristianPi commented 4 years ago

I don't know why, but with typescript 3.7.x (with 3.6.x it works) the ttsc command crash with: `performCompilation(sys, reportDiagnostic, cb, assign(assign({}, commandLine), { options: commandLineOptions }));

ReferenceError: __assign is not defined `

Do i need to change something?

I already have the package to 1.5.8 typescript 3.7.3