mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
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() {
|
||
|
}
|
||
|
}
|