Skip to content

Instantly share code, notes, and snippets.

@AdrienGiboire
Created October 1, 2012 16:32
Show Gist options
  • Save AdrienGiboire/3812856 to your computer and use it in GitHub Desktop.
Save AdrienGiboire/3812856 to your computer and use it in GitHub Desktop.
interface Stuff {
foo(s: string): string;
foo(n: number): number;
}
function sister(p: Stuff) {
p(709);
}
function act(p: Stuff) {
p("pp");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment