Skip to content

Commit

Permalink
feat: export ReturnModelConfig type to avoid generating dts error
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 committed Jul 31, 2023
1 parent 179c822 commit fb44d5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ice/store",
"version": "2.0.3",
"version": "2.0.4",
"description": "Simple and friendly state for React",
"main": "esm/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export interface ThisModelConfig<
ThisType<ExtractIModelDispatchersFromReducersObject<R> & ExtractIModelDispatchersFromEffects<E>>;
}

interface ReturnModelConfig<
export interface ReturnModelConfig<
S,
R extends ModelReducers<S>,
E extends ModelEffects<S> | ((dispatch: IcestoreDispatch) => ModelEffects<S>),
Expand Down

0 comments on commit fb44d5e

Please sign in to comment.