Anders gives this example of an interface overload, but I don’t understand how it will be implemented and used:
interface Fooable
{
Foo(n:number) : string;
Foo(s:string) : string;
}
Can someone give me an example of implementing and using this?
source
share