mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #14427 from filionf/update_seq-datatype
[pouchdb-core] In CouchDB 2.0, the update_seq has become a string.
This commit is contained in:
Vendored
+3
-2
@@ -45,7 +45,7 @@ declare namespace PouchDB {
|
||||
doc_count: number;
|
||||
|
||||
/** Sequence number of the database. It starts at 0 and gets incremented every time a document is added or modified */
|
||||
update_seq: number;
|
||||
update_seq: number | string;
|
||||
}
|
||||
|
||||
interface Revision<Content> {
|
||||
@@ -221,8 +221,9 @@ declare namespace PouchDB {
|
||||
/**
|
||||
* Start the results from the change immediately after the given sequence number.
|
||||
* You can also pass `'now'` if you want only new changes (when `live` is `true`).
|
||||
*
|
||||
*/
|
||||
since?: 'now' | number;
|
||||
since?: 'now' | number | string;
|
||||
|
||||
/**
|
||||
* Request timeout (in milliseconds).
|
||||
|
||||
Reference in New Issue
Block a user