• Parameters

    • initialState: any
    • allowedTransitionsArray: any

    Returns {
        canTransitionTo: ((nextState: any) => any);
        getStatus: ((_: any) => any);
        transitionTo: ((nextState: any) => void);
    }

    • canTransitionTo: ((nextState: any) => any)
        • (nextState): any
        • Parameters

          • nextState: any

          Returns any

    • getStatus: ((_: any) => any)
        • (_): any
        • Parameters

          • _: any

          Returns any

    • transitionTo: ((nextState: any) => void)
        • (nextState): void
        • Parameters

          • nextState: any

          Returns void