Is it possible to achieve a similar outcome as shown below?
type Info = {
category: string
}
type Product = {
code: string,
...Info
}
Resulting in the following structure for Product:
type Product = {
code: string,
category : string
}