Skip to content

Install type script source, with 'tns create' #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ralphmason opened this issue Jun 4, 2015 · 3 comments
Closed

Install type script source, with 'tns create' #522

ralphmason opened this issue Jun 4, 2015 · 3 comments

Comments

@ralphmason
Copy link

Sorry if this has been asked before.

It would be really nice to install the typescript source along side the compiles javascript when an application is created.

The compiled javascript is much harder to read & change than the typescript.

@AlexandreRoba
Copy link

+1 tns create should support an option parameter to include the typescript source

@ErjanGavalji
Copy link
Contributor

Yep, these are already in the works, commented in the Choose template functionality and Enable transpilers support in NativeScript projects issues.

Once both the features available, we will publish the templates in TypeScript as well.

For the time being, you can view the TypeScript source of the templates in the NativeScript apps folder. Template are located in folders, named by the "template-{templateName}" scheme.

By the way, building the NativeScript/NativeScript repo, you'll get the tns-template-x.x.x-ts.tgz archives, which are actually the templates packed as npm.

@ErjanGavalji
Copy link
Contributor

Closing the issue now, for it gets a duplicate of the two, listed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants