20 lines
328 B
TypeScript
20 lines
328 B
TypeScript
//// [tests/cases/compiler/systemExportAssignment.ts] ////
|
|
|
|
//// [a.d.ts]
|
|
|
|
declare var a: number;
|
|
export = a; // OK, in ambient context
|
|
|
|
//// [b.ts]
|
|
import * as a from "a";
|
|
|
|
|
|
//// [b.js]
|
|
System.register([], function(exports_1) {
|
|
return {
|
|
setters:[],
|
|
execute: function() {
|
|
}
|
|
}
|
|
});
|