Thanks to visit codestin.com
Credit goes to github.com

Skip to content

NativeScript/nativescript-dev-typescript

 
 

Repository files navigation

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.

About

TypeScript support for NativeScript projects

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 25