Minor adjustment to interface type.
This commit is contained in:
parent
58e59bfacc
commit
56e46dbfb0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue