mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: jsDeclarationsExportAssignedConstructorFunctionWithSub.js
|
|
/**
|
|
* @param {number} p
|
|
*/
|
|
module.exports = function (p) {
|
|
this.t = 12 + p;
|
|
}
|
|
module.exports.Sub = function() {
|
|
this.instance = new module.exports(10);
|
|
}
|
|
module.exports.Sub.prototype = { }
|