diff --git a/types/nano/index.d.ts b/types/nano/index.d.ts index a6d0956f9e..b95eecd8ea 100644 --- a/types/nano/index.d.ts +++ b/types/nano/index.d.ts @@ -55,7 +55,7 @@ declare namespace nano { // http://docs.couchdb.org/en/latest/api/server/common.html#get--_all_dbs list(callback?: Callback): Request; use(db: string): DocumentScope; - compact(name: string, callback?: Callback): Request; + compact(name: string, callback?: Callback): Request; // http://docs.couchdb.org/en/latest/api/database/compact.html#post--db-_compact compact(name: string, designname: string, callback?: Callback): Request; // http://docs.couchdb.org/en/latest/api/server/common.html#post--_replicate