coffeescript
coffeescript copied to clipboard
CoffeeScript compiler removes explicit parentheses making casts difficult in JSDoc
https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#casts
b = ###* @type {B} ### (a)
Actual:
// Generated by CoffeeScript 2.6.1
var b;
b = /** @type {B} */a;
Expected:
// Generated by CoffeeScript 2.6.1
var b;
b = /** @type {B} */ (a);