DefinitelyTyped/state-machine
György Balássy a0a77855ec Support multiple 'from' states
According to https://github.com/jakesgordon/javascript-state-machine:
"If an event is allowed from multiple states, and always transitions to the same state, then simply provide an array of states in the from attribute of an event."

So the from property can be of type string or string[], so "any" is required here.
2014-01-17 12:45:01 +01:00
..
state-machine-tests.ts state-machine: align tests with TS 0.9.5 2013-12-06 23:02:55 +04:00
state-machine.d.ts Support multiple 'from' states 2014-01-17 12:45:01 +01:00