-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use with typescript #26
Comments
+1 |
+2 |
+3 |
+4 |
+5 |
export type AppStore = typeof store
interface IPersistStore extends AppStore {
__persistor: Persistor
}
export const makeStore = (context?: Context): IPersistStore => {
return { ...store, __persistor: persistStore(store) }
}
export const wrapper = createWrapper(makeStore) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i use this with typescript i need to add any type everywhere? could you please add an example with typescript ?
The text was updated successfully, but these errors were encountered: