File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2912,16 +2912,14 @@ export type DeleteRecordOperationGo<ResponseType, Keys> = <
2912
2912
options ?: Options ,
2913
2913
) => Options extends infer O
2914
2914
? "response" extends keyof O
2915
- ? O [ "response" ] extends "all_new"
2916
- ? Promise < { data : T } >
2917
- : O [ "response" ] extends "all_old"
2918
- ? Promise < { data : T } >
2915
+ ? O [ "response" ] extends "all_old"
2916
+ ? Promise < { data : T | null } >
2919
2917
: O [ "response" ] extends "default"
2920
- ? Promise < { data : Keys } >
2918
+ ? Promise < { data : Keys | null } >
2921
2919
: O [ "response" ] extends "none"
2922
2920
? Promise < { data : null } >
2923
- : Promise < { data : Partial < T > } >
2924
- : Promise < { data : Keys } >
2921
+ : Promise < { data : Keys | null } >
2922
+ : Promise < { data : Keys | null } >
2925
2923
: never ;
2926
2924
2927
2925
export type BatchWriteGo < ResponseType > = < O extends BulkOptions > (
You can’t perform that action at this time.
0 commit comments