Answer the question
In order to leave comments, you need to log in
Is Angular 2 written in Dart or TypeScript?
As far as I know Angular 2 is developed in TypeScript. But visiting the GitHub repository, I saw that 30% of the code is written in Dart and only 4% in TS. I also found such a thing as ts2dart - TypeScript to Dart transpiler. Why use a transpiler to convert TypeScript to Dart?
Answer the question
In order to leave comments, you need to log in
Why use a transpiler to convert TypeScript to Dart?
There, if you look raw, then many classes have alternative implementations on dart, ts and some incompatible with the es6 standard. But most of the code is in es6, with the js extension.
For example, here are three xhr implementations at once: https://github.com/angular/angular/tree/master/mod...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question