interface IUser { | |
firstName: string | |
lastName: string | |
} | |
interface IUser { | |
age: number | |
} | |
const user: IUser = { | |
firstName: 'Jon', | |
lastName: 'Doe', | |
age: 25, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment