Skip to content

Instantly share code, notes, and snippets.

@nsisodiya
Created May 7, 2020 05:03
Show Gist options
  • Save nsisodiya/69fbbb67cecf271d4989125966084d6d to your computer and use it in GitHub Desktop.
Save nsisodiya/69fbbb67cecf271d4989125966084d6d to your computer and use it in GitHub Desktop.
type iAdd = (a: number, b: number) => number;
const add: iAdd = (a, b) => a + b;
add(3, 4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment