Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): support findOneAndReplace with rawResult
Both findOneAndReplace and findOneAndUpdate support the rawResult option, which changes the return type to include more information from the MongoDB driver. Add an overload for findOneAndReplace to support rawResult in a way similar to findOneAndUpdate.
- Loading branch information