Skip to content

Commit b844304

Browse files
committed
Fix Database.peers type
1 parent b741399 commit b844304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ declare module "@orbitdb/core" {
6565
addOperation: (op: DagCborEncodable) => Promise<string>;
6666
log: Log;
6767
sync: Sync;
68-
peers: string[];
68+
peers: Set<string>;
6969
events: TypedEmitter<DatabaseEvents>;
7070
access: AccessController;
7171
};

0 commit comments

Comments
 (0)