mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +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() {
|
|
}
|
|
};
|