11 lines
173 B
JavaScript
11 lines
173 B
JavaScript
//// [genericSignatureInheritance2.ts]
|
|
interface I {
|
|
<T>(x: T): string;
|
|
}
|
|
|
|
interface I2 extends I {
|
|
<T>(x: T): void;
|
|
}
|
|
|
|
|
|
//// [genericSignatureInheritance2.js]
|