File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -79,17 +79,10 @@ expectAssignable<SchemaWithIdType | null>(
79
79
await typeTestCollection . findOneAndReplace ( { a : 1 } , { a : 5 } )
80
80
) ;
81
81
expectAssignable < SchemaWithIdInterface | null > (
82
- (
83
- await interfaceTestCollection . findOneAndReplace (
84
- { a : 1 } ,
85
- { a : 5 } ,
86
- { includeResultMetadata : true }
87
- )
88
- ) . value
82
+ await interfaceTestCollection . findOneAndReplace ( { a : 1 } , { a : 5 } )
89
83
) ;
90
84
expectAssignable < SchemaWithIdType | null > (
91
- ( await typeTestCollection . findOneAndUpdate ( { a : 1 } , { a : 5 } , { includeResultMetadata : true } ) )
92
- . value
85
+ await typeTestCollection . findOneAndUpdate ( { a : 1 } , { a : 5 } )
93
86
) ;
94
87
expectAssignable < SchemaWithIdInterface | null > (
95
88
await interfaceTestCollection . findOneAndUpdate ( { a : 1 } , { a : 5 } )
You can’t perform that action at this time.
0 commit comments