TypeScript/tests/cases/compiler/contextualTypingOfLambdaWithMultipleSignatures.ts
2014-07-12 17:30:19 -07:00

7 lines
121 B
TypeScript

interface Foo {
getFoo(n: number): void;
getFoo(s: string): void;
}
var foo: Foo;
foo.getFoo = bar => { };