Created
September 12, 2017 19:30
-
-
Save charlypoly/0ac062e24424fbe00917523188799b13 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
interface Person { | |
id: string; | |
name: string; | |
} | |
function sayHello(person: Person) { | |
console.log(person.name); | |
} | |
sayHello({} as any); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment