Skip to content

Commit c56c771

Browse files
committed
Format
1 parent c51400d commit c56c771

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ declare module "@orbitdb/core" {
7777
}
7878
>;
7979

80-
export type DocumentsDatabase = Awaited<ReturnType<Awaited<ReturnType<typeof Documents>>>>;
80+
export type DocumentsDatabase = Awaited<
81+
ReturnType<Awaited<ReturnType<typeof Documents>>>
82+
>;
8183

8284
export function KeyValue(): (args: CreateDatabaseArgs) => Promise<
8385
BaseDatabase & {
@@ -101,7 +103,9 @@ declare module "@orbitdb/core" {
101103
}
102104
>;
103105

104-
export type KeyValueDatabase = Awaited<ReturnType<Awaited<ReturnType<typeof KeyValue>>>>;
106+
export type KeyValueDatabase = Awaited<
107+
ReturnType<Awaited<ReturnType<typeof KeyValue>>>
108+
>;
105109

106110
export function Database(args: CreateDatabaseArgs): Promise<BaseDatabase>;
107111

@@ -148,9 +152,7 @@ declare module "@orbitdb/core" {
148152
peerId: PeerId;
149153
};
150154

151-
export function useAccessController(
152-
accessController: AccessController,
153-
): void;
155+
export function useAccessController(accessController: AccessController): void;
154156

155157
export function parseAddress(
156158
address: OrbitDBAddress | string,
@@ -225,9 +227,7 @@ declare module "@orbitdb/core" {
225227
}
226228
>;
227229

228-
export function OrbitDBAccessController(args?: {
229-
write?: string[];
230-
}): (args: {
230+
export function OrbitDBAccessController(args?: { write?: string[] }): (args: {
231231
orbitdb: OrbitDB;
232232
identities: IdentitiesType;
233233
address: string;

0 commit comments

Comments
 (0)