diff --git a/http-client/lib/shared.ts b/http-client/lib/shared.ts index 64b193f69..0c7950d46 100644 --- a/http-client/lib/shared.ts +++ b/http-client/lib/shared.ts @@ -113,8 +113,8 @@ export type Range = z.infer; export const codeLocationSchema = object({ commit: string(), path: string(), - old: rangeSchema.nullable(), - new: rangeSchema.nullable(), + old: rangeSchema.optional(), + new: rangeSchema.optional(), }); export type Author = z.infer;