mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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. |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| react-table-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||