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

Change correct return type #54

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Change correct return type #54

merged 1 commit into from
Sep 12, 2024

Conversation

d3m3vilurr
Copy link
Contributor

BigInt is not a valid type. it has to be bigint

error TS2345: Argument of type 'BigInt' is not assignable to parameter of type 'bigint'.

BigInt is not a valid type. it has to be `bigint`

```
error TS2345: Argument of type 'BigInt' is not assignable to parameter of type 'bigint'.
```
@lovell
Copy link
Owner

lovell commented Sep 12, 2024

Ah, sorry, thank you for fixing this. I need to add some type definition tests to catch this sort of thing.

@lovell lovell merged commit 0ff54cb into lovell:main Sep 12, 2024
@d3m3vilurr d3m3vilurr deleted the fix-types branch September 12, 2024 15:41
@lovell
Copy link
Owner

lovell commented Sep 12, 2024

I've added some tests via commit d8e8f70

@lovell
Copy link
Owner

lovell commented Sep 13, 2024

v4.0.1 now available, thanks again for the PR.

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 this pull request may close these issues.

2 participants