tsc is the official compiler that transform/compile a typescript file into a javascript script
yarn add typescript --dev
# yarn
yarn global add typescript
# npm
npm install -g typescript
tsc typescript.ts
ls
typescript.js
Compiler options can be set:
The Playground has a GUI