1
0
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:
Matthias Kretschmann 2020-07-20 13:58:45 +02:00
parent 7f6691b9fd
commit 42820874cb
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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)