mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
512 B
Diff
17 lines
512 B
Diff
--- old.jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es2015).js
|
|
+++ new.jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es2015).js
|
|
@@= skipped -24, +24 lines =@@
|
|
this.instance = new module.exports(10);
|
|
};
|
|
module.exports.Sub.prototype = {};
|
|
+
|
|
+
|
|
+//// [jsDeclarationsExportAssignedConstructorFunctionWithSub.d.ts]
|
|
+export = _exports;
|
|
+/**
|
|
+ * @param {number} p
|
|
+ */
|
|
+declare function _exports(p: number): void;
|
|
+declare namespace _exports {
|
|
+ export var Sub: () => void;
|
|
+}
|