Created
February 1, 2018 23:46
-
-
Save indreklasn/6be59e132282b42299cc764c01c49094 to your computer and use it in GitHub Desktop.
add with flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @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