mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 20:28:09 +00:00
update web3 flowtype
This commit is contained in:
parent
9293a33b57
commit
e4552b0998
@ -13,6 +13,9 @@ declare module 'web3' {
|
|||||||
};
|
};
|
||||||
|
|
||||||
declare type WebsocketProviderT = {
|
declare type WebsocketProviderT = {
|
||||||
|
connection: {
|
||||||
|
close: () => void;
|
||||||
|
}; // WebSocket type
|
||||||
on: (type: string, callback: () => any) => void;
|
on: (type: string, callback: () => any) => void;
|
||||||
removeAllListeners: (type: string) => void;
|
removeAllListeners: (type: string) => void;
|
||||||
reset: () => void;
|
reset: () => void;
|
||||||
|
Loading…
Reference in New Issue
Block a user