We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
From the webpack user test:
// @filename: mod1.js class K { values() { } } exports.K = K; // @filename: test.js const { K } = require("./mod1"); /** @type {K} */ let k; k.values();
Expected behavior:
No error, and k: K
k: K
Actual behavior:
Error "'values' not found on 'typeof K'." and k: typeof K.
k: typeof K
Note: doesn't happen with exports.K = class { values() {} }
exports.K = class { values() {} }
From the webpack user test:
Expected behavior:
No error, and
k: KActual behavior:
Error "'values' not found on 'typeof K'." and
k: typeof K.Note: doesn't happen with
exports.K = class { values() {} }