Category: TypeScript
You can install the TypeScript compiler tsc
globally as an alternative to using TypeScript for a specific project with the following command:
yarn global add typescript
Confirm version:
tsc --version
Show help:
tsc --help
Initialise a TypeScript tsconfig.json
file with defaults for your project:
tsc --init