@equinor/fusion-observable
Advanced tools
Comparing version 2.4.2 to 2.5.0
@@ -1,2 +0,2 @@ | ||
import { ActionCreator, ActionDefinitions, AnyAction } from './types/actions'; | ||
import { ActionCreator, ActionDefinitions, ActionTypes } from './types/actions'; | ||
type ActionCalls<T extends ActionDefinitions> = { | ||
@@ -6,4 +6,4 @@ [K in keyof T]: T[K] extends ActionCreator ? (...args: Parameters<T[K]>) => void : never; | ||
export declare const actionMapper: <T extends ActionDefinitions>(actions: T, subject: { | ||
next: (action: AnyAction) => void; | ||
next: (action: ActionTypes<T>) => void; | ||
}) => ActionCalls<T>; | ||
export default actionMapper; |
{ | ||
"name": "@equinor/fusion-observable", | ||
"version": "2.4.2", | ||
"version": "2.5.0", | ||
"description": "WIP", | ||
@@ -81,3 +81,3 @@ "private": false, | ||
}, | ||
"gitHead": "4332728a74a664fc1847d69ccb7beeccbe567912" | ||
"gitHead": "909e48f515aa842e15eaeb26a7f75c160da39e84" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
131950
85
637