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