33 lines
634 B
TypeScript
33 lines
634 B
TypeScript
//// [systemModule14.ts]
|
|
|
|
function foo() {
|
|
return a;
|
|
}
|
|
|
|
import {a} from "foo";
|
|
export {foo}
|
|
|
|
var x = 1;
|
|
export {foo as b}
|
|
|
|
//// [systemModule14.js]
|
|
System.register(["foo"], function (exports_1, context_1) {
|
|
"use strict";
|
|
var __moduleName = context_1 && context_1.id;
|
|
function foo() {
|
|
return foo_1.a;
|
|
}
|
|
var foo_1, x;
|
|
return {
|
|
setters: [
|
|
function (foo_1_1) {
|
|
foo_1 = foo_1_1;
|
|
}
|
|
],
|
|
execute: function () {
|
|
exports_1("foo", foo);
|
|
x = 1;
|
|
exports_1("b", foo);
|
|
}
|
|
};
|
|
});
|