mirror of
https://github.com/oceanprotocol/react.git
synced 2024-11-23 02:00:27 +01:00
correct typings for exported methods
This commit is contained in:
parent
7f6691b9fd
commit
42820874cb
@ -27,8 +27,8 @@ interface OceanProviderValue {
|
||||
balance: Balance
|
||||
chainId: number | undefined
|
||||
status: ProviderStatus
|
||||
connect: (opts?: Partial<ICoreOptions>) => void
|
||||
logout: () => void
|
||||
connect: (opts?: Partial<ICoreOptions>) => Promise<void>
|
||||
logout: () => Promise<void>
|
||||
}
|
||||
|
||||
const OceanContext = createContext(null)
|
||||
|
Loading…
Reference in New Issue
Block a user