mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2026-01-01 22:47:31 +00:00
Remove 'redux-typed' from ReactReduxSpa template, making it more standard as a Redux application
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { ActionCreatorGeneric } from 'redux-typed';
|
||||
import * as WeatherForecasts from './WeatherForecasts';
|
||||
import * as Counter from './Counter';
|
||||
|
||||
@@ -18,4 +17,6 @@ export const reducers = {
|
||||
|
||||
// This type can be used as a hint on action creators so that its 'dispatch' and 'getState' params are
|
||||
// correctly typed to match your store.
|
||||
export type ActionCreator = ActionCreatorGeneric<ApplicationState>;
|
||||
export interface AppThunkAction<TAction> {
|
||||
(dispatch: (action: TAction) => void, getState: () => ApplicationState): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user