`Negate<0>` returns `number | bigint`
dimitropoulos opened this issue · comments
Hi!
I noticed that Negate<0>
returns number | bigint
and I'd expect it to return 0
(doesn't seem like TypeScript has -0
, which is fine by me).
import { Call, Numbers } from 'hotscript'
type ShouldBeZero = Call<Numbers.Negate<0>>
// ^?
type Zero = -0;
// ^?