mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Merge pull request #1558 from balassy/patch-1
Support multiple 'from' states
This commit is contained in:
4
state-machine/state-machine.d.ts
vendored
4
state-machine/state-machine.d.ts
vendored
@@ -11,7 +11,7 @@ interface StateMachineErrorCallback {
|
||||
|
||||
interface StateMachineEventDef {
|
||||
name: string;
|
||||
from: string;
|
||||
from: any; // string or string[]
|
||||
to: string;
|
||||
}
|
||||
|
||||
@@ -78,4 +78,4 @@ interface StateMachine {
|
||||
transition: StateMachineTransition;
|
||||
}
|
||||
|
||||
declare var StateMachine: StateMachineStatic;
|
||||
declare var StateMachine: StateMachineStatic;
|
||||
|
||||
Reference in New Issue
Block a user