TypeScript/tests/baselines/reference/mixingFunctionAndAmbientModule1.types

91 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/mixingFunctionAndAmbientModule1.ts ===
module A {
>A : typeof A
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var x: number;
>x : number
2014-08-15 23:33:16 +02:00
}
function My(s: string) { }
>My : typeof My
>s : string
2014-08-15 23:33:16 +02:00
}
module B {
>B : typeof B
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var x: number;
>x : number
2014-08-15 23:33:16 +02:00
}
function My(s: boolean);
>My : typeof My
>s : boolean
2014-08-15 23:33:16 +02:00
function My(s: any) { }
>My : typeof My
>s : any
2014-08-15 23:33:16 +02:00
}
module C {
>C : typeof C
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var x: number;
>x : number
2014-08-15 23:33:16 +02:00
}
declare function My(s: boolean);
>My : typeof My
>s : boolean
2014-08-15 23:33:16 +02:00
}
module D {
>D : typeof D
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var x: number;
>x : number
2014-08-15 23:33:16 +02:00
}
declare function My(s: boolean);
>My : typeof My
>s : boolean
2014-08-15 23:33:16 +02:00
declare function My(s: any);
>My : typeof My
>s : any
2014-08-15 23:33:16 +02:00
}
module E {
>E : typeof E
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var x: number;
>x : number
2014-08-15 23:33:16 +02:00
}
declare function My(s: boolean);
>My : typeof My
>s : boolean
2014-08-15 23:33:16 +02:00
declare module My {
>My : typeof My
2014-08-15 23:33:16 +02:00
export var y: number;
>y : number
2014-08-15 23:33:16 +02:00
}
declare function My(s: any);
>My : typeof My
>s : any
2014-08-15 23:33:16 +02:00
}