I have the following expression:
public mySentences:Array = [ {id: 1, text: \'Sentence 1\'}, {id: 2, text: \'Sentence 2\'}, {id: 3,
Datatype: array_name:datatype[]=[]; Example string: users:string[]=[];
array_name:datatype[]=[];
users:string[]=[];
For array of objects:
Objecttype: object_name:objecttype[]=[{}]; Example user: Users:user[]=[{}];
object_name:objecttype[]=[{}];
Users:user[]=[{}];
And if in some cases it's coming undefined in binding, make sure to initialize it on Oninit().
Oninit()