2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/moduleAndInterfaceSharingName4.ts ===
|
|
|
|
declare module D3 {
|
2014-08-28 21:40:58 +02:00
|
|
|
>D3 : typeof D3
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x: D3.Color.Color;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : Color.Color
|
2014-08-28 21:40:58 +02:00
|
|
|
>D3 : unknown
|
|
|
|
>Color : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Color : Color.Color
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module Color {
|
2014-08-28 21:40:58 +02:00
|
|
|
>Color : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface Color {
|
|
|
|
>Color : Color
|
|
|
|
|
|
|
|
darker: Color;
|
|
|
|
>darker : Color
|
|
|
|
>Color : Color
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|