Skip to content

Instantly share code, notes, and snippets.

@nsisodiya
Created May 7, 2020 05:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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