TypeScript/tests/baselines/reference/mixedExports.types

39 lines
558 B
Text
Raw Normal View History

2014-08-28 01:58:31 +02:00
=== tests/cases/compiler/mixedExports.ts ===
declare module M {
2014-08-28 21:40:58 +02:00
>M : typeof M
2014-08-28 01:58:31 +02:00
function foo();
>foo : { (): any; (): any; (): any; }
2014-08-28 01:58:31 +02:00
export function foo();
>foo : { (): any; (): any; (): any; }
2014-08-28 01:58:31 +02:00
function foo();
>foo : { (): any; (): any; (): any; }
2014-08-28 01:58:31 +02:00
}
declare module M1 {
2014-08-28 21:40:58 +02:00
>M1 : unknown
2014-08-28 01:58:31 +02:00
export interface Foo {}
>Foo : Foo
interface Foo {}
>Foo : Foo
}
module A {
2014-08-28 21:40:58 +02:00
>A : unknown
2014-08-28 01:58:31 +02:00
interface X {x}
>X : X
>x : any
export module X {}
2014-08-28 21:40:58 +02:00
>X : unknown
2014-08-28 01:58:31 +02:00
interface X {y}
>X : X
>y : any
}