File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments