swc/crates/swc_ecma_parser/tests/tsc/jsDeclarationsExportAssignedClassExpressionAnonymous.ts

14 lines
234 B
TypeScript
Raw Normal View History

// @allowJs: true
// @checkJs: true
// @target: es5
// @outDir: ./out
// @declaration: true
// @filename: index.js
module.exports = class {
/**
* @param {number} p
*/
constructor(p) {
this.t = 12 + p;
}
}