Created
May 20, 2019 19:22
-
-
Save JimRottinger/7c04de45e4958e886704c87782b7fb7c to your computer and use it in GitHub Desktop.
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
function identity (value: Number) : Number { | |
return value; | |
} | |
console.log(identity(1)) // 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All your
Number
should benumber
. TypeScript primitive types are all lowercasse.