2 ms·
Uhh, yes it is meant to be just annotations + ES6. https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals https://github.com/Microsoft/TypeScript
by spion 10y ago
Uhh, 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.