-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
fix: Prevent $state
bigint
s incrementing and decrementing from throwing
#14485
Conversation
|
preview: https://svelte-dev-git-preview-svelte-14485-svelte.vercel.app/ this is an automated message |
|
Thanks! can you add a changeset? |
thanks! |
Closes #14484. Now, incrementing or decrementing
BigInt
$state
s will not throw an error. A test has been added for this.Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.packages/svelte/src
, add a changeset (npx changeset
).Tests and linting
pnpm test
and lint the project withpnpm lint