Major Changes
-
ceeebb0:
taggedState(...)tags a root parallel state with the machineidinstead of'(machine)', or with''when the machine has no id.TaggedStateandStateTagtype the tag the same way.const release = createMachine({ id: 'release', type: 'parallel', states: { review: {}, build: {} } }); Match.type<TaggedState<typeof release>>().pipe( Match.tag('release', () => 'in progress'), // was Match.tag('(machine)', ...) Match.exhaustive );