Skip to content

About

TypeScript support for NativeScript projects

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

22 stars

Watchers

39 watching

Forks

 
 

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

Code of conduct

Contributing

Security policy

Stars

22 stars

Watchers

39 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages