We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
open
1 parent 7b28b87 commit 5daabfcCopy full SHA for 5daabfc
src/index.d.ts
@@ -157,7 +157,7 @@ declare module "@orbitdb/core" {
157
158
export type OrbitDB<T extends ServiceMap = ServiceMap> = {
159
id: string;
160
- open: (address: string, options?: OpenDatabaseOptions) => BaseDatabase;
+ open: (address: string, options?: OpenDatabaseOptions) => Promise<BaseDatabase>;
161
stop: () => Promise<void>;
162
ipfs: HeliaLibp2p<Libp2p<T>>;
163
directory: string;
0 commit comments