You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export interface StateValueMap {
[key: string]: StateValue;
}
/**
* The string or object representing the state value relative to the parent state node.
*
* - For a child atomic state node, this is a string, e.g., `"pending"`.
* - For complex state nodes, this is an object, e.g., `{ success: "someChildState" }`.
*/
export type StateValue = string | StateValueMap;
The snapshot.matches() isn't typed because of this
Expected result
state should be typed based on MachineConfig states
matches should be typed based on MachineConfig states
Actual result
no types
Reproduction
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description
getSnapshot().value does not have a type
The snapshot.matches() isn't typed because of this
Expected result
Actual result
no types
Reproduction
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered: