44 lines
1 KiB
TypeScript
44 lines
1 KiB
TypeScript
//// [tests/cases/compiler/exportStarForValues9.ts] ////
|
|
|
|
//// [file1.ts]
|
|
|
|
export interface Foo { x }
|
|
|
|
//// [file2.ts]
|
|
export interface A { x }
|
|
export * from "file1"
|
|
export * from "file3"
|
|
export var x = 1;
|
|
|
|
//// [file3.ts]
|
|
export interface B { x }
|
|
export * from "file2"
|
|
export var x = 1;
|
|
|
|
|
|
//// [file1.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
});
|
|
//// [file3.js]
|
|
define(["require", "exports", "file2"], function (require, exports, file2_1) {
|
|
"use strict";
|
|
function __export(m) {
|
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
}
|
|
exports.__esModule = true;
|
|
__export(file2_1);
|
|
exports.x = 1;
|
|
});
|
|
//// [file2.js]
|
|
define(["require", "exports", "file3"], function (require, exports, file3_1) {
|
|
"use strict";
|
|
function __export(m) {
|
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
}
|
|
exports.__esModule = true;
|
|
__export(file3_1);
|
|
exports.x = 1;
|
|
});
|