Hi Stijn,

It is written in typescript. Just take a look at the github repo, and read 
the source. Pretty much the definitive answer. 
However, there is a lot of fuzz going around, and a lot of people have not 
heard the entire story,

When angular 2 started, typescript was already in existence. However, at 
that time they were not in alignment with the ES6 (that was the official 
name at that time). As ng2 was aimed for the future the decision was made 
to write in the next version of JS (again ES6), The only viable way to do 
that, back then was by using traceur. However, there were a couple of 
things needed for ng2 that simply didn't exist yet. (Mostly what we now 
know as decorators, and they will be a part of es2016) The core team needed 
those thing, so they wrote an extension for traceur, and called it 
ATscript. 
Meanwhile the whole ES6 train didn't stop. At a certain point MS decided it 
was time to embrace ES6, so that valid ES6 code, would also be valid TS 
code. A lot of water passed under the bridge.
At a certain point, TS became a good fit for NG2. As the codebase was 
written entirely in ES6 with a few additions it was not that hard to switch 
to TS at that point in time, but decorators still were needed. At this 
point Google and MS joined forces to extend TS so it would have decorators( 
among a few other things,,), even before the spec was ready(that spec still 
isn't fully done btw)
During this collaboration between Google and MS there was a lot of 
exchange, MS did help out at certain NG2 features, and the other way around 
things happened too. Have a deeper look at RX for example (that's a solid 
MS project, or ate least it was.)

I hope this helps you a bit,
with kind regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to