type 'number' is not assignable to type 'never'.ts2322) code example Example: string is not assignable to type never const result : string[] = [];