24 lines
443 B
TypeScript
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 () {
|
|
}
|
|
};
|
|
});
|