Skip to content

@xstate/store@3.4.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Apr 12:43
ecf857b

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.