A shorthand ambient module should be considered as possibly exporting a value

This commit is contained in:
Andy Hanson
2016-09-09 08:11:47 -07:00
parent 11e9f50722
commit 545d7e5e89
3 changed files with 14 additions and 6 deletions

View File

@@ -22,6 +22,10 @@ var jquery_1 = require("jquery");
exports.x = jquery_1.x;
//// [reExportAll.js]
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require("jquery"));
//// [reExportUser.js]
"use strict";
var reExportX_1 = require("./reExportX");