Type 'Element[]' is not assignable to type 'never[]' jsx code example Example: string is not assignable to type never const result : string[] = [];