Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es2015).js

34 lines
576 B
TypeScript

//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedClassExpressionAnonymous.ts] ////
//// [index.js]
module.exports = class {
/**
* @param {number} p
*/
constructor(p) {
this.t = 12 + p;
}
}
//// [index.js]
"use strict";
module.exports = class {
/**
* @param {number} p
*/
constructor(p) {
this.t = 12 + p;
}
};
//// [index.d.ts]
export = _exports;
declare class _exports {
t: number;
/**
* @param {number} p
*/
constructor(p: number);
}