1. Install TypeScript
Open a command prompt window and run the following command:
Code: Select all
npm install typescript -g
2. Configure the Zeus IDE
Edit the Zeus TypeScript document type using the Options, Document Types menu and selecting the Compiler panel.
Set the compiler command line option to the following:
Code: Select all
tsc "$fn"
Code: Select all
tsc --strict "$fn"
Configure the other Zeus options as shown below:
3. Compiling the TypeScript File within the Zeus IDE
To compile a TypeScript file just open the file in Zeus and use the Compiler, Compile menu to run the tsc compiler.
4. Setting up the Language Server
To setup the TypeScript language server follow the instructions found here: http://www.zeusedit.com/lsp/typescript.html