Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jul 15:20
· 2958 commits to main since this release
0d6bd74

Patch Changes

  • 141c91cf #2436 Thanks @Andarist! - Fixed an issue where, when using model.createMachine, state's context was incorrectly inferred as any after refinement with .matches(...), e.g.

    // `state.context` became `any` erroneously
    if (state.matches('inactive')) {
      console.log(state.context.count);
    }