16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
//// [exportEqualsUmd.ts]
|
|
export = { ["hi"]: "there" };
|
|
|
|
//// [exportEqualsUmd.js]
|
|
(function (factory) {
|
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
|
}
|
|
else if (typeof define === 'function' && define.amd) {
|
|
define(["require", "exports"], factory);
|
|
}
|
|
})(function (require, exports) {
|
|
"use strict";
|
|
return (_a = {}, _a["hi"] = "there", _a);
|
|
var _a;
|
|
});
|