I am struggling to include an array as a property in one of my classes, but I am unable to figure out the correct way to do it.
Below is the snippet of code that I am currently experimenting with:
export class Foo {
id: number;
value: number;
array: [];
}
After conducting extensive research online and coming up empty-handed, I decided to seek help here. Can anyone provide guidance on how to correctly add an array property to a class?