checker-panic-tuple.ts:5:11 - error SC1090: logical operators on union-typed values outside conditions (narrow first: check a discriminant field, or compare with '!== undefined'/'!== null' for unit arms) are not supported yet

  4 | // refusals — a failed compile, never a crashed CLI.
  5 | const a = ''.match(/x/) || [];
    |           ^~~~~~~~~~~~~~~~~~~
  6 | console.log(a.length);

checker-panic-tuple.ts:6:13 - error SC1090: reading 'length' on a union-typed value (every arm must be an object/record with a same-typed field 'length'; narrow first: check a discriminant field, or compare with '!== undefined'/'!== null' for unit arms) is not supported yet

  5 | const a = ''.match(/x/) || [];
  6 | console.log(a.length);
    |             ^~~~~~~~
  7 | 