I have the following json file with data:
[{
"sectionKey": "key1",
"sectionName": "name",
"content": []
},
{
"sectionKey": "key2",
"sectionName": "name",
"content": []
}
]
My question is: how to declare the content of the array in typescript? like "Type"[]. Please do not suggest using any[] since it removes all type checking provided by TypeScript.
content[]property?