Minor adjustment to interface type.
This commit is contained in:
parent
58e59bfacc
commit
56e46dbfb0
|
@ -55,7 +55,7 @@ export interface Database {
|
|||
document: AnyDocument,
|
||||
opts?: DatabasePutOpts
|
||||
): Promise<Nano.DocumentInsertResponse>
|
||||
bulkDocs(documents: AnyDocument[]): Promise<Nano.DocumentBulkResponse>
|
||||
bulkDocs(documents: AnyDocument[]): Promise<Nano.DocumentBulkResponse[]>
|
||||
allDocs<T>(params: DatabaseQueryOpts): Promise<AllDocsResponse<T>>
|
||||
query<T>(
|
||||
viewName: string,
|
||||
|
|
Loading…
Reference in New Issue