Here is an example of the object structure I am working with:
{
"info" : { "title" : '123},
"details": [ {"desc": "d1"}, {"desc": "d2}]
}
I am currently in the process of defining types for this object. This is what I have so far:
interface Info {
"title": string,
}
interface Detail {
"desc": string,
}
Can anyone provide guidance on how to create a class that includes an Info object and an array of Detail objects? Thank you.