38 lines
546 B
Text
38 lines
546 B
Text
=== 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 : any
|
|
|
|
export interface Foo {}
|
|
>Foo : Foo
|
|
|
|
interface Foo {}
|
|
>Foo : Foo
|
|
}
|
|
|
|
module A {
|
|
>A : any
|
|
|
|
interface X {x}
|
|
>X : X
|
|
>x : any
|
|
|
|
export module X {}
|
|
>X : any
|
|
|
|
interface X {y}
|
|
>X : X
|
|
>y : any
|
|
}
|