Skip to content

Commit

Permalink
Update models.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Feb 26, 2024
1 parent 26f78a2 commit a7f1085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ declare module 'mongoose' {
*/
deleteOne(
filter?: FilterQuery<TRawDocType>,
options?: (mongodb.DeleteOptions & ExcludeKeys<MongooseQueryOptions<TRawDocType>, 'lean' | 'timestamps'>) | null
options?: (mongodb.DeleteOptions & MongooseBaseQueryOptions<TRawDocType>) | null
): QueryWithHelpers<
mongodb.DeleteResult,
THydratedDocumentType,
Expand Down

0 comments on commit a7f1085

Please sign in to comment.