What was the complaint before this?

I think it should always be preferable to use comments instead of code to satisfy the compiler.  Why not this `/** @type {number} */ (image.width)` instead?