7 lines
121 B
TypeScript
7 lines
121 B
TypeScript
|
interface Foo {
|
||
|
getFoo(n: number): void;
|
||
|
getFoo(s: string): void;
|
||
|
}
|
||
|
|
||
|
var foo: Foo;
|
||
|
foo.getFoo = bar => { };
|