Comparing version 2.3.4 to 2.3.5
@@ -10,4 +10,4 @@ import EventEmitter from 'eventemitter3'; | ||
action?: string; | ||
success?: <T>(this: T, result: any) => any; | ||
fail?: <T>(this: T, err: FSMError) => any; | ||
success?: (result: any) => any; | ||
fail?: (err: FSMError) => any; | ||
} | ||
@@ -14,0 +14,0 @@ export declare class MiddleState { |
@@ -12,4 +12,4 @@ import EventEmitter from 'eventemitter3'; | ||
action?: string; | ||
success?: <T>(this: T, result: any) => any; | ||
fail?: <T>(this: T, err: FSMError) => any; | ||
success?: (result: any) => any; | ||
fail?: (err: FSMError) => any; | ||
} | ||
@@ -16,0 +16,0 @@ // 中间过渡状态 |
{ | ||
"name": "afsm", | ||
"version": "2.3.4", | ||
"version": "2.3.5", | ||
"description": "automatic finite state machine", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
3985617