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