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 3a4edd5 commit 6c81d4eCopy full SHA for 6c81d4e
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