types of property length are incompatible code example
Example: types of property length are incompatible
{name: string}[]
// Or if you prefer:
Array<{name: string}>
{name: string}[]
// Or if you prefer:
Array<{name: string}>