Skip to content

feat: allow to pass an array as is param - #2

Merged
HugoPerard merged 1 commit into
mainfrom
is-multiple
Aug 27, 2026
Merged

HugoPerard merged 1 commit into
mainfrom
is-multiple

Conversation

@HugoPerard

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6b48528

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bearstudio/ui-state Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Align is() with when/match so an array still type-narrows the discriminated union to the listed variants.

Co-authored-by: Cursor <cursoragent@cursor.com>
@HugoPerard
HugoPerard merged commit 7bb456b into main Aug 27, 2026
1 check passed
@HugoPerard
HugoPerard deleted the is-multiple branch August 27, 2026 09:01
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.

1 participant