# xstate/release
XState xstate@5.33.4
importance: mediumfeature
This patch fixes TypeScript narrowing for `assertEvent` when event types are generic or have union-valued `type` fields. Partial wildcard descriptors now also preserve the bare prefix event in narrowed types, aligning the types with runtime behavior.
affected
TypeScript users relying on `assertEvent`, `ExtractEvent`, or partial wildcard transition event inference may see more accurate event types.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.