2

I want to use JavaScript in my new Angular 2 project and use ng new command for bootstrapping. But this command creates TypeScript files and I couldn't find any command line option to use JavaScript instead. How can I do that?

6
  • 2
    @Scott Selby, why remove the good will messages? We are not robots. Commented Jun 23, 2017 at 16:57
  • speak for yourself , a lot of us are robots Commented Jun 23, 2017 at 16:58
  • 1
    But I ask my question to humans. =) So if a hi or thank you is not a waste-of-time, I prefer to write it. Leave them where they are or show a rule against them. Thank you! Commented Jun 23, 2017 at 17:02
  • meta.stackexchange.com/questions/115694/… Commented Jun 23, 2017 at 17:03
  • 1
    Sorry, I couldn't see any rule there. Commented Jun 23, 2017 at 17:07

1 Answer 1

1

At the current state of the CLI generating JS files and not TS files is not possible.

In the future custom blueprints will be supported in which case you can create your own.

Sign up to request clarification or add additional context in comments.

2 Comments

So, is there any feature request about custom blueprints?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.