@airma/core
Advanced tools
Comparing version 15.4.0 to 15.4.1
@@ -49,10 +49,8 @@ export declare type Action = { | ||
declare type HoldCallback = < | ||
S = any, | ||
T extends AirModelInstance = any, | ||
D extends S = any | ||
declare type FactoryHolder = < | ||
T extends AirReducer<any, any>, | ||
>( | ||
reducer: AirReducer<S, T>, | ||
defaultState?: D | ||
) => typeof reducer; | ||
reducer: T, | ||
defaultState?: T extends AirReducer<infer S, any>?S:never | ||
) => T; | ||
@@ -62,3 +60,3 @@ export declare function createRequiredModels< | ||
>( | ||
requireFn: (hold: HoldCallback) => T | ||
requireFn: (factory: FactoryHolder) => T | ||
): T; | ||
@@ -65,0 +63,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"name": "@airma/core", | ||
"version": "15.4.0", | ||
"version": "15.4.1", | ||
"description": "This is the core for agent-reducer and airma", | ||
@@ -10,0 +10,0 @@ "repository": { |
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
11243
335