Skip to content

Commit c96ac50

Browse files
authored
🤖 Merge PR DefinitelyTyped#72871 Fix Meteor Mongo.Cursor iterator return type by @imajus
1 parent 864bc2e commit c96ac50

File tree

2 files changed

+85
-71
lines changed

2 files changed

+85
-71
lines changed

‎types/meteor/mongo.d.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ declare module 'meteor/mongo' {
479479
callbacks: ObserveChangesCallbacks<T>,
480480
options?: { nonMutatingCallbacks?: boolean | undefined },
481481
): Meteor.LiveQueryHandle;
482-
[Symbol.iterator](): Iterator<T>;
483-
[Symbol.asyncIterator](): AsyncIterator<T>;
482+
[Symbol.iterator](): Iterator<U>;
483+
[Symbol.asyncIterator](): AsyncIterator<U>;
484484
}
485485

486486
var ObjectID: ObjectIDStatic;

0 commit comments

Comments
 (0)