David Blass @ssalbdivad.dev · Jan 9

As expected, redeclaring `isArray` with the safer + more accurate `readonly unknown[]` as a type predicate would allow narrowing here. I realize the ship has probably set sail on that kind of breaking change, but I still don't see how that makes it "correct."

4 likes 0 replies

?