-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit improves the types in the data package. - Adds new types `ThunkArgs` and `Thunk`. These types are intended to be used by consumers of the data package to define their own thunks. - Adds meta action creators to the `ActionCreatorsOf` type. - Adds the `dispatch` and `select` functions to the `DataRegistry` type. - Adds the `invalidate` action creators to the `ActionCreatorsOf` type. This allows consumers of the data package to have more complete type safety. Also, provides access to the invalidate resolution action creators, which are useful for complex data store manipulation. Adding new types as described above. Building the package types.
- Loading branch information
Showing
1 changed file
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters