Closed
Description
/** @param {Image} image */
function process(image) {
}
Expected behavior:
- Error "'Image' refers to a value, but is being used as a type here." and
image: any
, as TS does. - No error, and
image: typeof Image
, as we often do in JS.
I think I prefer (2), but after the stricter-jsdoc-type-resolution PR, I expected (1), which is also OK.
Actual behavior:
No error and image: any
.