TypeScript/tests/baselines/reference/mixedExports.types
2014-08-28 12:52:44 -07:00

39 lines
558 B
Plaintext

=== tests/cases/compiler/mixedExports.ts ===
declare module M {
>M : typeof M
function foo();
>foo : { (): any; (): any; (): any; }
export function foo();
>foo : { (): any; (): any; (): any; }
function foo();
>foo : { (): any; (): any; (): any; }
}
declare module M1 {
>M1 : unknown
export interface Foo {}
>Foo : Foo
interface Foo {}
>Foo : Foo
}
module A {
>A : unknown
interface X {x}
>X : X
>x : any
export module X {}
>X : unknown
interface X {y}
>X : X
>y : any
}