15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @target: es5
|
||
|
// @outDir: ./out
|
||
|
// @declaration: true
|
||
|
// @filename: jsDeclarationsExportAssignedConstructorFunction.js
|
||
|
/** @constructor */
|
||
|
module.exports.MyClass = function() {
|
||
|
this.x = 1
|
||
|
}
|
||
|
module.exports.MyClass.prototype = {
|
||
|
a: function() {
|
||
|
}
|
||
|
}
|