Tool Kit plugin to build [TypeScript](https://www.typescriptlang.org) code
npm install @dotcom-tool-kit/typescriptTool Kit plugin to build TypeScript code
With Tool Kit already set up, install this plugin as a dev dependency:
``sh`
npm install --save-dev @dotcom-tool-kit/typescript
And add it to your repo's .toolkitrc.yml:
`yml`
plugins:
- '@dotcom-tool-kit/typescript'
Compile code with tsc.
#### Task options
| Property | Description | Type |
| :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------- |
| configPath | to the TypeScript config file. Uses TypeScript's own tsconfig.json resolution by default | string |build
| | Run Typescript in build mode. | true |watch
| | Run Typescript in watch mode. | true |noEmit
| | Run Typescript with --noEmit, for checking your types without outputting compiled Javascript. | true` |
_All properties are optional._