(x: number)
| 173 | |
| 174 | it("does not return -0 when the given dates are the same", () => { |
| 175 | function isNegativeZero(x: number): boolean { |
| 176 | return x === 0 && 1 / x < 0; |
| 177 | } |
| 178 | |
| 179 | const result = differenceInDays( |
| 180 | new Date(2014, 8 /* Sep */, 5, 0, 0), |