@fsmoothy/core
Version:
FSMoothy is a feature-rich and easy-to-use finite state machine for TypeScript.
6 lines • 343 B
TypeScript
import { AllowedNames } from './types';
export declare class StateMachineTransitionError extends Error {
constructor(id: string, from: AllowedNames, event: AllowedNames, cause?: unknown);
}
export declare const isStateMachineTransitionError: (error: unknown) => error is StateMachineTransitionError;
//# sourceMappingURL=fsm.error.d.ts.map