Skip to content

Commit 3c153b1

Browse files
authored
fix typing of 'since' options (#311)
1 parent d1b3c4f commit 3c153b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/nano.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ declare namespace nano {
248248
/** whether to get a faster changes feed by supplying 'seq_interval' */
249249
fastChanges?: boolean;
250250
/** where to begin the changes feed: 0, now or a sequence token */
251-
since?: string;
251+
since?: string | number;
252252
/** whether to return document bodies too */
253253
includeDocs?: boolean;
254254
/** number of milliseconds when the longpoll request will timeout */
@@ -965,7 +965,7 @@ declare namespace nano {
965965
* Can be valid update sequence or now value.
966966
*
967967
* @default 0 */
968-
since?: number;
968+
since?: string | number;
969969

970970
/** Specifies how many revisions are returned in the changes array.
971971
*

0 commit comments

Comments
 (0)