Skip to content

Conversation

@vejrj
Copy link
Contributor

@vejrj vejrj commented Jun 6, 2025

Newly accept optional parameter

  {
     baseContextTypePath: "@package/default-context",
      baseContextTypeName: "DefaultContextType",
      contextTypes: {
        managers: {
          user: {
            importNamespaceName: "UserStateMachineType",
            importPath: "@package/user-state-machine",
            typeName: 'UserStateMachineType["user"]',
          },
          optionalWhatever: {
            importPath: "@package/whatever-state-machine",
            typeName: "optionalWhatever",
            optional: true,
          },
} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants