Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es2015).js.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;
+}