signal-desktop/sticker-creator/store/reducer.ts
2021-10-26 14:15:33 -05:00

13 lines
402 B
TypeScript

// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { Reducer } from 'redux';
import { combineReducers } from 'redux';
// eslint-disable-next-line import/no-cycle
import { reducer as stickers } from './ducks/stickers';
export const reducer = combineReducers({
stickers,
});
export type AppState = typeof reducer extends Reducer<infer U> ? U : never;