Minor adjustment to interface type.
This commit is contained in:
parent
58e59bfacc
commit
56e46dbfb0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue