JE42 JE42 - 2 years ago 87
TypeScript Question

How to make typescript optional for ionic 2 applications?

If I need to import a new JS library in an Angular component of an ionic 2 application i first need to install types via typings.

I thought typescript was optional for ionic 2.

How do I need to configure Ionic 2 to skip this additional step?

Answer Source

I'm afraid that a few weeks ago I asked that in ionic-v2 Slack channel and the answer from one developer of Ionic Team was:

We're going all in on TS.

You could do your own work and covert it toa es6 workflow, but we want people to use typescript

So Typescript is not optional for Ionic 2 applications.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download