// @allowJS: true // @suppressOutputPathCheck: true // @filename: 0.js // @ts-check var exports = {}; /** * @typedef {string} */ exports.SomeName; /** @type {exports.SomeName} */ const myString = 'str';