eonarheim / TypeState

A strongly typed finite state machine for TypeScript
http://eonarheim.github.io/TypeState/example/
BSD 2-Clause "Simplified" License
272 stars 28 forks source link

Add optional arguement for allowImplicitSelfTransition #17

Closed merrickheley closed 7 years ago

merrickheley commented 7 years ago

This option if set to true (defaulted false) will allow states to implicitly transition into themselves. eonarheim/TypeState#16

This is my first time really writing typescript and I haven't used the Jasmine test suite before, so please check this code carefully before accepting it.