Commit Graph

8 Commits

Author SHA1 Message Date
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
György Balássy
7078d20cc2 Support AMD
Added an export module, because the original state-machine.js supports AMD, which feature was not available from TypeScript before this patch.
2014-03-02 10:45:33 +01:00
Bartvds
709a0363a0 added/fixed headers o-s
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:56:27 +01:00
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
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
unknown
472995d0c8 More type safety for transitions plus updates to support events. 2013-01-25 08:36:31 -08:00
Boris Yankov
9353d8e997 Merge branch 'master' of https://github.com/mdocter/DefinitelyTyped into mdocter-master 2013-01-24 06:20:04 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00