mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Merge pull request #1558 from balassy/patch-1
Support multiple 'from' states
This commit is contained in:
Vendored
+2
-2
@@ -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