You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cursor/find_cursor.ts
+4-4
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ export class FindCursor extends AbstractCursor {
178
178
*
179
179
* @param min - Specify a $min value to specify the inclusive lower bound for a specific index in order to constrain the results of find(). The $min specifies the lower bound for all keys of a specific index in order.
180
180
*/
181
-
min(min: number): this {
181
+
min(min: Document): this {
182
182
assertUninitialized(this);
183
183
this[kBuiltOptions].min=min;
184
184
returnthis;
@@ -189,7 +189,7 @@ export class FindCursor extends AbstractCursor {
189
189
*
190
190
* @param max - Specify a $max value to specify the exclusive upper bound for a specific index in order to constrain the results of find(). The $max specifies the upper bound for all keys of a specific index in order.
191
191
*/
192
-
max(max: number): this {
192
+
max(max: Document): this {
193
193
assertUninitialized(this);
194
194
this[kBuiltOptions].max=max;
195
195
returnthis;
@@ -249,15 +249,15 @@ export class FindCursor extends AbstractCursor {
0 commit comments