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 907aac1 commit 46f3becCopy full SHA for 46f3bec
src/collection.ts
@@ -389,7 +389,7 @@ export class Collection<TSchema extends Document = Document> {
389
filter: Filter<TSchema>,
390
replacement: WithoutId<TSchema>,
391
options?: ReplaceOptions
392
- ): Promise<UpdateResult<TSchema> | Document> {
+ ): Promise<UpdateResult<TSchema>> {
393
return await executeOperation(
394
this.client,
395
new ReplaceOneOperation(
0 commit comments