Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

extend type typescript

type UserEvent = Event & {UserId: string}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #extend #type #typescript
ADD COMMENT
Topic
Name
4+6 =