@xstate/fsm
Advanced tools
Comparing version 1.6.1 to 1.6.2
# @xstate/fsm | ||
## 1.6.2 | ||
### Patch Changes | ||
- [#2601](https://github.com/statelyai/xstate/pull/2601) [`b76351be7`](https://github.com/statelyai/xstate/commit/b76351be73910a733f56059579aad1faea6bd822) Thanks [@VanTanev](https://github.com/VanTanev)! - Add `ExtractEvent<Event, EventType>` to @xstate/fsm | ||
## 1.6.1 | ||
@@ -4,0 +10,0 @@ |
@@ -91,2 +91,5 @@ export declare enum InterpreterStatus { | ||
} | ||
export declare type ExtractEvent<TEvent extends EventObject, TEventType extends TEvent['type']> = TEvent extends { | ||
type: TEventType; | ||
} ? TEvent : never; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -91,2 +91,5 @@ export declare enum InterpreterStatus { | ||
} | ||
export declare type ExtractEvent<TEvent extends EventObject, TEventType extends TEvent['type']> = TEvent extends { | ||
type: TEventType; | ||
} ? TEvent : never; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -91,2 +91,5 @@ export declare enum InterpreterStatus { | ||
} | ||
export declare type ExtractEvent<TEvent extends EventObject, TEventType extends TEvent['type']> = TEvent extends { | ||
type: TEventType; | ||
} ? TEvent : never; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@xstate/fsm", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "XState for finite state machines", | ||
@@ -52,6 +52,6 @@ "keywords": [ | ||
"rollup-plugin-terser": "^5.1.2", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"ts-jest": "^26.5.6", | ||
"typescript": "^4.2.4" | ||
"typescript": "^4.3.5" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57310
582