Hacker News new | ask | show | jobs
by omarelamri 4259 days ago
Is he using TypeScript or ECMAScript 6? Also, is it just me, to does this seem like a completely different framework than Angular 1?
1 comments

Typescript is ECMAScript6, with additional (typing) features.

I'd venture it's ecmascript 6 being used, as Google suffers NIH syndrome too..

I wouldn't call TypeScript an "ECMAScript 6 with types". It feels more like a superset of ECMAScript 5 as it introduces non-standard features such as static class properties and public/private scoping while major ES6 features such as proxies, symbols, generators, modules or block scoping are not supported.
Yeah, it definitely is EcmaScript 6. They've added the "class" and "constructor" keywords. Typescript is very mush modeled after EcmaScript 6 anyways, so technically it can be both. But I'm sure it's EcmaScript6, because that's what Angular 2 is written in.
See the post about Google's AtScript that was on HN yesterday.
So is this basically TypeScript with annotations and types available at runtime?