Skip to content

Commit a46a76e

Browse files
committed
Fix compactAsync method response
1 parent 865c436 commit a46a76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contracts/DocumentScopeAsync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface DocumentScopeAsync<D> extends Nano.DocumentScope<D> {
1717
replicateAsync(target: string | Nano.DocumentScope<D>, options?: any): Promise<Nano.DatabaseReplicateResponse>;
1818

1919
// http://docs.couchdb.org/en/latest/api/database/compact.html#post--db-_compact
20-
compactAsync(): Promise<any>;
20+
compactAsync(): Promise<Nano.OkResponse>;
2121

2222
// http://docs.couchdb.org/en/latest/api/database/changes.html#get--db-_changes
2323
changesAsync(params?: Nano.DatabaseChangesParams): AsyncResponse<Nano.DatabaseChangesResponse>;

0 commit comments

Comments
 (0)