File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/node_modules/overmind/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export type Statemachine<States extends string> = {
1818
1919const CURRENT_EXIT = Symbol ( 'CURRENT_EXIT' )
2020
21- class Machine < States extends string > {
21+ class StateMachine < States extends string > {
2222 current : States
2323 private [ CURRENT_EXIT ] : ( ( ) => void ) | undefined
2424 constructor ( definition : StatemachineDefinition < States > ) {
@@ -47,5 +47,5 @@ class Machine<States extends string> {
4747}
4848
4949export function statemachine < States extends string > ( definition : StatemachineDefinition < States > ) : Statemachine < States > {
50- return new Machine ( definition ) as any
50+ return new StateMachine ( definition ) as any
5151}
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export type IDerive<
8181 Value
8282> = (
8383 parent : ResolveState < Parent > ,
84- state : ResolveState < ThisConfig [ 'state' ] & { } >
84+ state : ResolveState < ThisConfig [ 'state' ] >
8585) => Value
8686
8787export interface IOnInitialize < ThisConfig extends IConfiguration > {
You can’t perform that action at this time.
0 commit comments