TypeScript/tests/baselines/reference/systemExportAssignment3.js
2016-03-22 15:43:43 -07:00

24 lines
443 B
TypeScript

//// [tests/cases/compiler/systemExportAssignment3.ts] ////
//// [modules.d.ts]
declare module "a" {
var a: number;
export = a; // OK, in ambient context
}
//// [b.ts]
import * as a from "a";
//// [b.js]
System.register([], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
return {
setters: [],
execute: function () {
}
};
});