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

sum() should allow bigint #742

Open
woody146 opened this issue Oct 23, 2024 · 3 comments
Open

sum() should allow bigint #742

woody146 opened this issue Oct 23, 2024 · 3 comments

Comments

@woody146
Copy link

Currently, sum() only accepts number array. Sum with bigint array will throw type error

@woody146 woody146 changed the title sum should allow bigint sum() should allow bigint Oct 23, 2024
@dayongkr
Copy link
Contributor

Are you referring to making it possible to add a number and a bigint together? Or are you talking about creating a way to sum an array containing only bigints?

@woody146
Copy link
Author

Are you referring to making it possible to add a number and a bigint together? Or are you talking about creating a way to sum an array containing only bigints?

I talk about array of only bigint

@D-Sketon
Copy link
Contributor

Maybe this should be implemented in the compat layer

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

Successfully merging a pull request may close this issue.

3 participants