14 lines
223 B
TypeScript
14 lines
223 B
TypeScript
//// [tests/cases/compiler/es6ExportAssignment4.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]
|