TypeScript/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.types

28 lines
429 B
Plaintext

=== tests/cases/compiler/exportSpecifierAndExportedMemberDeclaration.ts ===
declare module "m2" {
export module X {
>X : () => any
interface I { }
>I : I
}
function Y();
>Y : () => any
export { Y as X };
>Y : () => any
>X : () => any
function Z(): X.I;
>Z : () => X.I
>X : any
>I : X.I
}
declare module "m2" {
function Z2(): X.I;
>Z2 : () => X.I
>X : any
>I : X.I
}