Open
Description
TypeScript Version: 3.0.0-dev.20180711
Code
class C {
/** @typedef {number} N */
/** @type {N} */
x = 0; // works
}
/**
* @memberof C
* @typedef {number} M
*/
/** @type {C.N} */
const x = 0; // broke
/** @type {C.M} */
const y = 0; // broke
Expected behavior:
No error.
Actual behavior:
C.N
and C.M
don't exist.