Created
May 20, 2019 19:23
-
-
Save JimRottinger/dfbb86b6c2f6fdd06e23e4a229d854ec 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 <T>(value: T) : T { | |
return value; | |
} | |
console.log(identity<Number>(1)) // 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment