I am working on an Angular 2 application and have a JSON object that I need to declare in typescript correctly. Here is the structure of the object:
data = [
{
'id':1,
'title':'something'
'node': [
{
'id':1,
'title':'something'
'node': []
}
]
},
{
'id':2,
'title':'something'
'node': [
{
'id':1,
'title':'something'
'node': []
}
]
}
]