Re:Angular 2 – Best Practises
by robwormald on Wednesday June 29, 2016 @12:55AM
(#11999576)
Typescript doesn't directly, but Angular2 does (or will, this is just coming online) - our offline compiler converts your html templates into TS, and then regular TS typechecking can take over.
See https://github.com/microsoft/typescript/issues/6508 (and the GIF!)
Re:Angular 2 – Best Practises
by ta_donk_gt on Monday June 27, 2016 @11:15AM
(#11986689)
> does typescript support some kind of template-string validation for angular2
No, and that's the reason I mention jsx as a missing feature from Angular 2. There is no compile time or refactoring support for templates, whereas with TypeScript and jsx you get that.
anyway, does typescript support some kind of template-string validation for angular2? If so, I'm going to really re-consider angular2 for my next project