cevek / ttypescript

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

Set typescript location in command line or tsconfig. #104

Closed Griffork closed 2 years ago

Griffork commented 3 years ago

I have a project setup like this:

Client
  - node_modules
Server
 - node_modules
Typescript
 - node_modules <- ideally contains ttypescript and typescript

I can call ttypescript remotely pretty easily by navigating to it on the command line (e.g. from client: ..\Typescript\node_modules\ttypescript\lib\tsc.js) but unfortunately it errors in trying to find typescript because it tries to import from the client folder. Is there a way I could change the location it checks for typescript?