We have an array example below.
const sampleArray = [
{names: ['example1', 'example2']},
'another',
'final'
];
Additionally, here is a type error example. The error message reads as follows: "Type 'string' is not assignable to type".
type Array = {
{ [identifier: string]: string[] }[]
}