@easy-page/core
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -73,3 +73,3 @@ export interface Empty { | ||
/** inject data in form */ | ||
preprocess?: (context: Pick<DataContext<FieldType, PageState, PageProps>, 'defaultValues' | 'pageProps'>) => FieldType; | ||
preprocess?: <DefaultValues = Record<string, any>>(context: Pick<DataContext<FieldType, DefaultValues, PageProps>, 'defaultValues' | 'pageProps'>) => FieldType; | ||
/** when state or props changed, do something */ | ||
@@ -76,0 +76,0 @@ actions?: Array<EffectActionType<FieldType, PageState, PageProps, EffectedResultType>>; |
{ | ||
"name": "@easy-page/core", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"dependencies": {}, | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
35556