github statelyai/xstate @xstate/store@3.4.2

3 days ago

Patch Changes

  • #5247 e8891030162214acc751a9f79a5d57ec916565ee Thanks @davidkpiano! - Fix type inference for discriminated union event types in the trigger and the emit object. Previously, using Omit with union types would incorrectly combine event types, breaking type inference for discriminated unions. This has been fixed by introducing a DistributiveOmit type that correctly preserves the relationship between discriminated properties.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.