TypeScript/tests/cases/compiler/declarationEmitImportInExportAssignmentModule.ts
Sheetal Nandi f8351c8865 Set the declarations of export assignment visible on demand through dts emit
Emit those new declarations asynchronously since they are otherwise not visible
2015-02-10 19:02:13 -08:00

12 lines
189 B
TypeScript

// @declaration: true
// @module: commonjs
module m {
export module c {
export class c {
}
}
import x = c;
export var a: typeof x;
}
export = m;