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