Type assertion/cast syntax in checkJs/@ts-check mode
TypeScript 2.5 introduces the ability to assert the type of expressions when using plain JavaScript in your projects.The syntax is an /* @type {…} /
annotation comment followed by a parenthesized expression whose type needs to be re-evaluated.For example:
var x = /** @type {SomeType} */ (AnyParenthesizedExpression);