8 lines
101 B
TypeScript
8 lines
101 B
TypeScript
|
interface Foo {
|
||
|
f(): string;
|
||
|
}
|
||
|
|
||
|
interface Bar extends Foo {
|
||
|
f(key: string): string;
|
||
|
}
|