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