Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Uhh, yes it is meant to be just annotations + ES6.

https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...

The exclamination is a forced cast to another type, just like "x as otherType". So this is still in the same category.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: