mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
19 lines
269 B
TypeScript
19 lines
269 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @strict: true
|
|
// @outDir: out
|
|
// @declaration: true
|
|
|
|
// @filename: main.js
|
|
const { K } = require("./mod1");
|
|
/** @param {K} k */
|
|
function f(k) {
|
|
k.values()
|
|
}
|
|
|
|
// @filename: mod1.js
|
|
exports.K = class K {
|
|
values() {
|
|
}
|
|
};
|