TypeScript/tests/baselines/reference/unclosedExportClause01.js

41 lines
716 B
TypeScript

//// [tests/cases/compiler/unclosedExportClause01.ts] ////
//// [t1.ts]
export var x = "x";
//// [t2.ts]
export { x, from "./t1"
//// [t3.ts]
export { from "./t1"
//// [t4.ts]
export { x as a from "./t1"
//// [t5.ts]
export { x as a, from "./t1"
//// [t1.js]
"use strict";
exports.x = "x";
//// [t2.js]
"use strict";
var t1_1 = require("./t1");
exports.x = t1_1.x;
exports.from = t1_1.from;
//// [t3.js]
"use strict";
var t1_1 = require("./t1");
exports.from = t1_1.from;
//// [t4.js]
"use strict";
var t1_1 = require("./t1");
exports.a = t1_1.x;
exports.from = t1_1.from;
//// [t5.js]
"use strict";
var t1_1 = require("./t1");
exports.a = t1_1.x;
exports.from = t1_1.from;