Created
March 13, 2017 22:05
-
-
Save ajchambeaud/f15a3067b121b3ba97efa61026606b09 to your computer and use it in GitHub Desktop.
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
interface Person { | |
firstName: string; | |
lastName: string; | |
} | |
function greeter(person: Person) { | |
return "Hello, " + person.firstName + " " + person.lastName; | |
} | |
var user = { firstName: "Jane", lastName: "User" }; | |
document.body.innerHTML = greeter(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment