13 lines
218 B
JavaScript
13 lines
218 B
JavaScript
|
//// [genericAndNonGenericInheritedSignature2.ts]
|
||
|
interface Foo {
|
||
|
f(x: any): any;
|
||
|
}
|
||
|
interface Bar {
|
||
|
f<T>(x: T): T;
|
||
|
}
|
||
|
interface Hello extends Bar, Foo {
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [genericAndNonGenericInheritedSignature2.js]
|