Created
July 25, 2023 15:17
-
-
Save meshaabi/f7133e37679b445abe1d1ca48407b3e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import { SetState, GetState } from 'zustand'; | |
import { StoresUseState } from './stores/types'; | |
import { BasketUseState } from './basket/types'; | |
import { CustomerUseState } from './customer/types'; | |
import { AppUseState } from './app/types'; | |
import { RemoteConfigUseState } from './remoteConfig/types'; | |
export type AllStoreSlices = StoresUseState & | |
AppUseState & | |
RemoteConfigUseState & | |
CustomerUseState & | |
BasketUseState; | |
export type StoreSetState = SetState<AllStoreSlices>; | |
export type StoreGetState = GetState<AllStoreSlices>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment