Skip to content

Instantly share code, notes, and snippets.

@jthodge
Forked from maxchehab/example.ts
Last active December 21, 2019 03:01
type Sum = (x: number, y: number) => number;
export function CreateSum(): Sum {
return function(x: number, y: number): number {
return x + y;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment