@airma/react-state
Advanced tools
Comparing version
@@ -8,4 +8,5 @@ import { AirModelInstance, AirReducer } from '@airma/core'; | ||
declare type FactoryModel<T extends AirReducer<any, any>> = T & { | ||
export declare type FactoryModel<T extends AirReducer<any, any>> = T & { | ||
pipe: PipeCallback<T extends AirReducer<infer S, any> ? S : never>; | ||
effect?: [(...params: any[]) => any, Record<string, any>?]; | ||
}; | ||
@@ -51,3 +52,3 @@ | ||
declare type FactoryCollection = | ||
export declare type FactoryCollection = | ||
| FactoryModel<(s: any) => any> | ||
@@ -54,0 +55,0 @@ | Array<FactoryModel<(s: any) => any>> |
{ | ||
"name": "@airma/react-state", | ||
"version": "17.0.7", | ||
"version": "17.0.8", | ||
"description": "the purpose of this project is make useReducer more simplify", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
16173
0.47%85
1.19%