8 lines
241 B
TypeScript
8 lines
241 B
TypeScript
import { combineReducers, Reducer } from 'redux';
|
|
import { reducer as stickers } from './ducks/stickers';
|
|
|
|
export const reducer = combineReducers({
|
|
stickers,
|
|
});
|
|
|
|
export type AppState = typeof reducer extends Reducer<infer U> ? U : never;
|