Getting Started
Setting Up Development Environment
To setup a new project we need to create package.json
Now we can install dependencies
and required TypeScript definitions
We also need to tell TypeScript how exactly we want it to transpile our sources, so we create tsconfig.json
In brief, we ask here TypeScript to compile our application bootstrap module ./src/app.ts
into ./build
directory. Also it shall also include index file./typings/index.d.ts
for installed type definitions.
Now we are ready to write application code. Of course you can use any text editor, but for any pleasant experience you rather take an IDE with support for TypeScript
I'm personally used to NetBeans, which is out of the list. Yet it has a plugin Netbeans TypeScript Editor.
Last updated