TypeScript/tests/baselines/reference/typeQuery.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

25 lines
441 B
TypeScript

//// [tests/cases/conformance/externalModules/typeOnly/typeQuery.ts] ////
//// [a.ts]
export class A { }
//// [b.ts]
import type { A } from './a';
let AConstructor: typeof A;
//// [a.js]
"use strict";
exports.__esModule = true;
exports.A = void 0;
var A = /** @class */ (function () {
function A() {
}
return A;
}());
exports.A = A;
//// [b.js]
"use strict";
exports.__esModule = true;
var AConstructor;