Created
April 21, 2021 18:36
-
-
Save pckilgore/ac3c6f90ae256ef4e8d8f5ee113cb77a to your computer and use it in GitHub Desktop.
HelloWorld.ts
This file contains 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
type message = { hello: "world" }; | |
function greeter(t: message) { | |
return Object.entries(t).flat().join(" "); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment