@typinghare/fsm
Advanced tools
+1
-1
| { | ||
| "name": "@typinghare/fsm", | ||
| "description": "Simple finite state machine.", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
+15
-0
@@ -68,2 +68,17 @@ // Generated by dts-bundle-generator v9.5.1 | ||
| abstract transition(context: Context<any>): State; | ||
| /** | ||
| * Gets the state (class) of this state object. | ||
| * | ||
| * @returns The state of this state object. | ||
| */ | ||
| getClass(): StateClass<any>; | ||
| /** | ||
| * Checks if the state (class) of this state object is the same as the | ||
| * given state class. | ||
| * | ||
| * @param stateClass | ||
| * @returns True if the state of this object is the same as the given state | ||
| * class; false otherwise. | ||
| */ | ||
| is(stateClass: StateClass<any>): boolean; | ||
| } | ||
@@ -70,0 +85,0 @@ /** |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6617
6.88%163
10.14%0
-100%