TypeScript/tests/baselines/reference/topLevelLambda4.js
Wesley Wigham c6c2c4c8d5
Hoist initial assignment to exported names in cjs to they are not blocked by bindings made by __exportStar (#37093)
* Hoist initial assignment to exported names in cjs to they are not blocked by bindings made by __exportStar

* Copy hoisted identifiers so they do not create sourcemaps

* Accept updated baselines
2020-02-28 13:25:28 -08:00

12 lines
312 B
TypeScript

//// [topLevelLambda4.ts]
export var x = () => this.window;
//// [topLevelLambda4.js]
define(["require", "exports"], function (require, exports) {
"use strict";
var _this = this;
exports.__esModule = true;
exports.x = void 0;
exports.x = function () { return _this.window; };
});