Skip to content

Instantly share code, notes, and snippets.

@indreklasn
Created February 1, 2018 23:46
Show Gist options
  • Save indreklasn/6be59e132282b42299cc764c01c49094 to your computer and use it in GitHub Desktop.
Save indreklasn/6be59e132282b42299cc764c01c49094 to your computer and use it in GitHub Desktop.
add with flow
// @flow
const add = (a: number, b: number) => {
return a + b
}
add(1, 2) // 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment