TypeScript/tests/cases/conformance/salsa/commonJSImportExportedClassExpression.ts
Nathan Shively-Sanders 0eb0fb6d72 Change baseline name to avoid case-only conflict
Windows hates this one weird trick! (And humans are mightily confused by
it)
2020-09-10 13:17:40 -07:00

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() {
}
};