mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @declaration: true
|
|
// @emitDeclarationOnly: true
|
|
// @filename: file.js
|
|
exports.foo = 42
|
|
exports.foo = "hello"
|
|
exports.foo = true
|
|
|
|
// @filename: file2.js
|
|
exports.foo = 42
|
|
/** @type {string} */
|
|
exports.foo = "hello"
|
|
/** @type {boolean} */
|
|
exports.foo = true |