mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-02 03:34:32 +00:00
-1 and 1 aren't the only numbers allowed. Any number less than or greater than 0 will sort the item properly. This enables shortcuts like (a, b) => a - b; Restricting the signature to -1 | 0 | 1 is a mistake.