22 lines
321 B
Text
22 lines
321 B
Text
=== tests/cases/compiler/inheritedMembersAndIndexSignaturesFromDifferentBases2.ts ===
|
|
interface A<T> {
|
|
>A : A<T>
|
|
>T : T
|
|
|
|
[n: number]: T;
|
|
>n : number
|
|
>T : T
|
|
}
|
|
|
|
interface B {
|
|
>B : B
|
|
|
|
foo: number;
|
|
>foo : number
|
|
}
|
|
|
|
interface C extends B, A<string> { } // Should succeed
|
|
>C : C
|
|
>B : B
|
|
>A : A<T>
|
|
|