Minor adjustment to interface type.

This commit is contained in:
mike12345567 2022-11-17 14:38:02 +00:00
parent 58e59bfacc
commit 56e46dbfb0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export interface Database {
document: AnyDocument, document: AnyDocument,
opts?: DatabasePutOpts opts?: DatabasePutOpts
): Promise<Nano.DocumentInsertResponse> ): Promise<Nano.DocumentInsertResponse>
bulkDocs(documents: AnyDocument[]): Promise<Nano.DocumentBulkResponse> bulkDocs(documents: AnyDocument[]): Promise<Nano.DocumentBulkResponse[]>
allDocs<T>(params: DatabaseQueryOpts): Promise<AllDocsResponse<T>> allDocs<T>(params: DatabaseQueryOpts): Promise<AllDocsResponse<T>>
query<T>( query<T>(
viewName: string, viewName: string,