20 lines
238 B
Text
20 lines
238 B
Text
=== tests/cases/compiler/genericSignatureInheritance2.ts ===
|
|
interface I {
|
|
>I : I
|
|
|
|
<T>(x: T): string;
|
|
>T : T
|
|
>x : T
|
|
>T : T
|
|
}
|
|
|
|
interface I2 extends I {
|
|
>I2 : I2
|
|
>I : I
|
|
|
|
<T>(x: T): void;
|
|
>T : T
|
|
>x : T
|
|
>T : T
|
|
}
|
|
|