33 lines
675 B
TypeScript
33 lines
675 B
TypeScript
//// [tests/cases/compiler/exportStarForValues6.ts] ////
|
|
|
|
//// [file1.ts]
|
|
|
|
export interface Foo { x }
|
|
|
|
//// [file2.ts]
|
|
export * from "file1"
|
|
export var x = 1;
|
|
|
|
//// [file1.js]
|
|
System.register([], function(exports_1, context_1) {
|
|
"use strict";
|
|
var __moduleName = context_1 && context_1.id;
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
}
|
|
}
|
|
});
|
|
//// [file2.js]
|
|
System.register([], function(exports_1, context_1) {
|
|
"use strict";
|
|
var __moduleName = context_1 && context_1.id;
|
|
var x;
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
exports_1("x", x = 1);
|
|
}
|
|
}
|
|
});
|