Skip to content

Commit f85dc9f

Browse files
committed
you cannot extend the return value of initializeBulkOp
1 parent 4b2991c commit f85dc9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-api/src/deep-inspect-service-provider-wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class DeepInspectServiceProviderWrapper
5555
insertMany = bsonMethod('insertMany');
5656
insertOne = bsonMethod('insertOne');
5757
replaceOne = bsonMethod('replaceOne');
58-
initializeBulkOp = bsonMethod('initializeBulkOp');
58+
initializeBulkOp = forwardedMethod('initializeBulkOp'); // you cannot extend the return value here
5959
createSearchIndexes = forwardedMethod('createSearchIndexes');
6060
close = forwardedMethod('close');
6161
suspend = forwardedMethod('suspend');

0 commit comments

Comments
 (0)