Created
August 10, 2024 05:59
-
-
Save BiosBoy/bb6e910aedada98745bd940dac779232 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 User { | |
name: string; | |
age: number; | |
isAdmin: boolean; | |
} | |
interface Employee extends User { | |
employeeId: number; | |
} | |
type User = { | |
name: string; | |
age: number; | |
isAdmin: boolean; | |
}; | |
type Status = 'success' | 'error' | 'loading'; | |
type Employee = User & { | |
employeeId: number; | |
}; | |
type Employee = User & { | |
employeeId: number; | |
}; | |
interface User { | |
role: string; | |
} | |
interface User { | |
department: string; | |
} | |
type EventName = `on${string}`; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment