TypeScript/tests/baselines/reference/genericSignatureInheritance2.types

21 lines
238 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/genericSignatureInheritance2.ts ===
interface I {
>I : I
2014-08-15 23:33:16 +02:00
<T>(x: T): string;
>T : T
>x : T
>T : T
2014-08-15 23:33:16 +02:00
}
interface I2 extends I {
>I2 : I2
>I : I
2014-08-15 23:33:16 +02:00
<T>(x: T): void;
>T : T
>x : T
>T : T
2014-08-15 23:33:16 +02:00
}