Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BigInt support #4

Open
eropple opened this issue Oct 6, 2019 · 0 comments
Open

Add BigInt support #4

eropple opened this issue Oct 6, 2019 · 0 comments

Comments

@eropple
Copy link
Owner

eropple commented Oct 6, 2019

Right now, we type-infer number, but (because we have to) we type-infer it to a float.

NodeJS 10.4 and up support BigInt, which we could and probably should standardize on for { type: 'integer' }. In doing so we can also add it to the coercion rules.

@eropple eropple changed the title Add BigInt support to type inference Add BigInt support Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant