Update dependency ts-pattern to ^5.7.1 #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/ts-pattern-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^5.7.0
->^5.7.1
Release Notes
gvergnaud/ts-pattern (ts-pattern)
v5.7.1
Compare Source
Type inference bug fixes
This new release fixes the following bug in exhaustiveness checking when matching on optional properties:
These two cases don't type check anymore. They fail with a
NonExhaustiveError<{ type?: undefined; }>
. To fix it, you should do:This is a purely type-level change, the runtime behavior is still the same.
What's Changed
Full Changelog: https://github.com/gvergnaud/ts-pattern/compare/v5.7.0...v5.7.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Checkout
From your project repository, check out a new branch and test the changes.