Skip to content

Commit

Permalink
Merge branch 'vkarpov15/gh-14374' of github.com:Automattic/mongoose i…
Browse files Browse the repository at this point in the history
…nto vkarpov15/gh-14374
  • Loading branch information
vkarpov15 committed Feb 27, 2024
2 parents d0e970f + 2fbeb14 commit 12981b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/types/querycursor.test.ts
Expand Up @@ -40,7 +40,6 @@ async function gh14374() {
}
const childSchema: Schema = new Schema({ name: String });

// This does not
const cursor = ParentModel.find({}).populate<{ child: Child }>('child').cursor();
for await (const doc of cursor) {
expectType<Child>(doc.child);
Expand Down

0 comments on commit 12981b8

Please sign in to comment.