Created
July 20, 2020 03:45
-
-
Save xnt/03752ec49ae06fa9340748a31fd05b20 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
type UserAddress = { | |
street: string; | |
number: number; | |
city: string; | |
country: string; | |
}; | |
type UserData = { | |
firstName: string; | |
lastName: string; | |
address: UserAddress; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment