File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ import {
25
25
import type { Topology } from '../sdam/topology' ;
26
26
import type { ClientSession } from '../sessions' ;
27
27
import { type Callback , maybeCallback , supportsRetryableWrites } from '../utils' ;
28
- import { AbstractCallbackOperation , type AbstractOperation , Aspect } from './operation' ;
28
+ import { AbstractCallbackOperation , Aspect } from './operation' ;
29
29
30
30
const MMAPv1_RETRY_WRITES_ERROR_CODE = MONGODB_ERROR_CODES . IllegalOperation ;
31
31
const MMAPv1_RETRY_WRITES_ERROR_MESSAGE =
32
32
'This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.' ;
33
33
34
- type ResultTypeFromOperation < TOperation > = TOperation extends AbstractOperation < infer K >
34
+ type ResultTypeFromOperation < TOperation > = TOperation extends AbstractCallbackOperation < infer K >
35
35
? K
36
36
: never ;
37
37
You can’t perform that action at this time.
0 commit comments