I do have an array of arrays full of objects for example as below
const array1:
any[] =
[
{firstName: "John", lastName: "Doe"},
{firstName: "Jane", lastName: "Doe"},
],
[
{firstName: "John", lastName: "Doe"},
],
[
{firstName: "Jane", lastName: "Doe"},
]
]
We do have a type restriction of using "any".
So would like to know what is the better way to define the type of array1.