Files
trezor-suite/suite-native/module-dev-utils/redux.d.ts
Matej Kriz ecd7aa6fc7 feat(analytics): introduce console logger functionality for analytics on both mobile and desktop
- Delete EXPO_PUBLIC_IS_ANALYTICS_LOGGER_ENABLED evn variable and replace it with toggle in dev utils.
2026-02-12 16:56:49 +01:00

12 lines
416 B
TypeScript

import { AsyncThunkAction, ThunkAction } from '@reduxjs/toolkit';
declare module 'redux' {
export interface Dispatch<A extends Action = AnyAction> {
<TThunk extends AsyncThunkAction<any, any, any>>(thunk: TThunk): ReturnType<TThunk>;
<ReturnType = any, State = any, ExtraThunkArg = any>(
thunkAction: ThunkAction<ReturnType, State, ExtraThunkArg, A>,
): ReturnType;
}
}