feat(ui): add AppGetState type

This commit is contained in:
psychedelicious
2025-06-11 11:39:44 +10:00
parent 94afc13813
commit a71a0e143c

View File

@@ -210,3 +210,4 @@ export type RootState = ReturnType<AppStore['getState']>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type AppThunkDispatch = ThunkDispatch<RootState, any, UnknownAction>;
export type AppDispatch = ReturnType<typeof createStore>['dispatch'];
export type AppGetState = ReturnType<typeof createStore>['getState'];