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