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