67 lines
1.3 KiB
TypeScript
67 lines
1.3 KiB
TypeScript
//// [tests/cases/compiler/systemModuleExportDefault.ts] ////
|
|
|
|
//// [file1.ts]
|
|
|
|
export default function() {}
|
|
|
|
//// [file2.ts]
|
|
export default function foo() {}
|
|
|
|
//// [file3.ts]
|
|
export default class {}
|
|
|
|
//// [file4.ts]
|
|
export default class C {}
|
|
|
|
|
|
|
|
//// [file1.js]
|
|
System.register([], function(exports_1) {
|
|
function default_1() { }
|
|
exports_1("default", default_1);
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
}
|
|
}
|
|
});
|
|
//// [file2.js]
|
|
System.register([], function(exports_1) {
|
|
function foo() { }
|
|
exports_1("default", foo);
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
}
|
|
}
|
|
});
|
|
//// [file3.js]
|
|
System.register([], function(exports_1) {
|
|
var default_1;
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
default_1 = (function () {
|
|
function default_1() {
|
|
}
|
|
return default_1;
|
|
})();
|
|
exports_1("default", default_1);
|
|
}
|
|
}
|
|
});
|
|
//// [file4.js]
|
|
System.register([], function(exports_1) {
|
|
var C;
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
C = (function () {
|
|
function C() {
|
|
}
|
|
return C;
|
|
})();
|
|
exports_1("default", C);
|
|
}
|
|
}
|
|
});
|