error TS2345: Argument of type 'any' is not assignable to parameter of type 'never' code example Example: string is not assignable to type never const result : string[] = [];