steelbreeze / state.js

DEPRECATED, please see @steelbreeze/state
https://github.com/steelbreeze/state
MIT License
324 stars 39 forks source link

Transition not fully constructed #26

Closed cpbuck12 closed 7 years ago

cpbuck12 commented 7 years ago

It appears the kind member of Transition is only set when the next state is implicitly an internal transition. See the constructor for Transition.

On a related note, kind not being set makes its use throughout the rest of the code ambiguous.

cpbuck12 commented 7 years ago

Having looked at the compiled code, this was a false alarm. (It appears have a thing or 3 to learn about TypeScript.)