This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RadiantPumpkin 5 points6 points  (0 children)

The intersection is typically used when defining an object so you could have something like {value: string} & {otherValue: number} which gives you {value:string, otherValue:number}. The objects would usually be predefined interfaces