2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.ts ===
|
|
|
|
|
|
|
|
declare module A.B.Base {
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : typeof A
|
|
|
|
>B : typeof B
|
|
|
|
>Base : typeof Base
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class W {
|
|
|
|
>W : W
|
|
|
|
|
|
|
|
id: number;
|
|
|
|
>id : number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module X.Y.base {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : typeof X
|
|
|
|
>Y : typeof Y
|
|
|
|
>base : typeof base
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class W extends A.B.Base.W {
|
|
|
|
>W : W
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : unknown
|
|
|
|
>B : unknown
|
|
|
|
>Base : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>W : A.B.Base.W
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
name: string;
|
|
|
|
>name : string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module X.Y.base.Z {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : typeof X
|
|
|
|
>Y : typeof Y
|
|
|
|
>base : typeof base
|
|
|
|
>Z : typeof Z
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class W<TValue> extends X.Y.base.W {
|
|
|
|
>W : W<TValue>
|
|
|
|
>TValue : TValue
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
|
|
|
>Y : unknown
|
|
|
|
>base : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>W : base.W
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
value: boolean;
|
|
|
|
>value : boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|