Last active
October 4, 2020 09:47
-
-
Save hw0k/57356804f08e722b3a91be7fe55200de to your computer and use it in GitHub Desktop.
TvI 1
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 Human { | |
name: string; | |
age: number; | |
} | |
const henry: Human = { | |
name: '남현욱', | |
age: 20, | |
}; | |
// | |
type Human = { | |
name: string; | |
age: number; | |
}; | |
const henry: Human = { | |
name: '남현욱', | |
age: 20, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment