3 ms·
You're right, it was never meant to just be annotations+ES6. Though when you talk to someone about TypeScript, they'll argue until they're blue in the face that
by shados 10y ago
You're right, it was never meant to just be annotations+ES6. Though when you talk to someone about TypeScript, they'll argue until they're blue in the face that its just "ES6 with types". I guess you can argue semantics here, but don't be too surprise people will argue back that way.
- nightski 10y agoWell it depends how you use it also. To them it really could be ES6 with annotations.
- spion 10y agoUhh, yes it is meant to be just annotations + ES6. https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals 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.