Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Rhax type allows number methods for a value of type number | null #49

Closed
nitzanhen opened this issue May 29, 2021 · 0 comments
Closed

Comments

@nitzanhen
Copy link
Owner

For some reason, the Rhax type permits using NumberRhax methods on a value of type number | null, that is despite the type
T extends number ? RhaxNumber : EmptyObj (From the Rhax type definition) evaluating to EmptyObj when T is number | null.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant