TypeScript/tests/cases/compiler/exportNamespaceDeclarationRetainsVisibility.ts

14 lines
178 B
TypeScript
Raw Normal View History

// @declaration: true
namespace X {
interface A {
kind: 'a';
}
interface B {
kind: 'b';
}
export type C = A | B;
}
export = X;