mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
reexport reducers flowtype
This commit is contained in:
parent
505a7e354d
commit
c7d7fa32d1
@ -113,6 +113,13 @@ export type Action =
|
|||||||
|
|
||||||
export type State = ReducersState;
|
export type State = ReducersState;
|
||||||
|
|
||||||
|
// reexport reduces types
|
||||||
|
export type { Coin } from '~/js/reducers/LocalStorageReducer';
|
||||||
|
export type { Account } from '~/js/reducers/AccountsReducer';
|
||||||
|
export type { Discovery } from '~/js/reducers/DiscoveryReducer';
|
||||||
|
export type { Token } from '~/js/reducers/TokensReducer';
|
||||||
|
export type { Web3Instance } from '~/js/reducers/Web3Reducer';
|
||||||
|
|
||||||
export type Accounts = $ElementType<State, 'accounts'>;
|
export type Accounts = $ElementType<State, 'accounts'>;
|
||||||
export type LocalStorage = $ElementType<State, 'localStorage'>;
|
export type LocalStorage = $ElementType<State, 'localStorage'>;
|
||||||
export type Config = $PropertyType<$ElementType<State, 'localStorage'>, 'config'>;
|
export type Config = $PropertyType<$ElementType<State, 'localStorage'>, 'config'>;
|
||||||
|
Loading…
Reference in New Issue
Block a user