filter-void-predicate.ts:8:27 - error SC1090: '.filter()' with a void-returning predicate (the callback return value is erased before its truthiness can be tested) is not supported yet

  7 | const pred: (n: number) => void = (n) => n;
  8 | console.log([0, 1].filter(pred).join(","));
    |                           ^~~~
  9 | // The callback's erased return makes this unsupported.