We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92aef08 commit beaff5bCopy full SHA for beaff5b
test/types/models.test.ts
@@ -1053,6 +1053,6 @@ async function gh16526() {
1053
const schema = new Schema({ name: String });
1054
const Tank = model('Tank', schema);
1055
1056
- const insertManyResult = await Tank.insertMany([{ name: 'test' }], { lean: true, rawResult: true })
+ const insertManyResult = await Tank.insertMany([{ name: 'test' }], { lean: true, rawResult: true });
1057
expectType<number>(insertManyResult.insertedCount);
1058
}
0 commit comments