TypeScript/tests/baselines/reference/mixedExports.types
2014-08-15 14:37:48 -07:00

39 lines
541 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 : M1
export interface Foo {}
>Foo : Foo
interface Foo {}
>Foo : Foo
}
module A {
>A : A
interface X {x}
>X : X
>x : any
export module X {}
>X : X
interface X {y}
>X : X
>y : any
}