Fixed type of .events and .ownEvents properties#4530
Conversation
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6f8dc84:
|
|
|
||
| public states: StateNode<TContext, TEvent>['states']; | ||
| public events: Array<TEvent['type']>; | ||
| public events: Array<EventDescriptor<TEvent>>; |
There was a problem hiding this comment.
Which also means that those property names are somewhat misleading. That was also true before since an event is an object - not a string
No description provided.