I read a code and it wrote the following code, and I can't underestand the &
sign, what doest it work?
type PizzaData = {
numberOfPeople: number
slicePerPerson: number
slicePerPie: number
}
type PizzaState = PizzaData & { pizzasNeeded: number }
what will be PizzaState
?