type subProperty = {
identifier: string,
label: string
};
type MainParentProps = {
subscriptionList?: [
{
identifier: string,
content: [???Collection Of subProperty???]
}
]
}
Can this scenario be implemented in typescript using only type alias? If yes, what is the correct way to achieve it? I have not been able to find a suitable solution online. If not, what other approach can be taken?