Dev Typescript

by tns-bot

TypeScript support for NativeScript projects. Install using tns install typescript.

TypeScript support for NativeScript projects

How to use


$ npm install -D nativescript-dev-typescript

The above command installs this module and installs the necessary hooks. TypeScript compilation happens when the project is prepared for build. A file named tsconfig.json that specifies compilation options will be created in the project folder and should be committed to source control.

Note for plugins


$ npm install -D nativescript-dev-typescript@libs

When developing NativeScript plugins, you should install the 'libs' tag of the nativescript-dev-typescript plugin. This will skip adding 'paths' mappings for 'tns-core-modules' in the 'tsconfig.json', because of this Angular compiler issue.

STATS

13444 downloads in the last month

2824 downloads in the last week

268 downloads in the last day