Untitled
unknown
plain_text
2 years ago
690 B
7
Indexable
import { ThunkDispatch } from 'redux-thunk';
import { AnyAction } from 'redux';
export type TypeExpense = {
currencies: string,
description: string,
exchangeRates: any,
id: number,
currency: string,
method: string,
tag: string,
value: string,
};
export type TypePayload = {
email: string,
senha: string,
};
export type PayloadWallet = {
expenses: TypeExpense[],
currencies: string[],
};
export type DadosForm = {
description: string,
currencies: string,
method: string,
tag: string,
value: string,
};
export type GlobalType = {
user: TypePayload,
wallet: PayloadWallet,
};
export type DispatchThunk = ThunkDispatch<GlobalType, unknown, AnyAction>;
Editor is loading...