diff --git a/src/types.ts b/src/types.ts index 173f5eaf7..657463bd0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -651,7 +651,7 @@ export type SearchAPIResponse< }[]; next?: string; previous?: string; - results_warning?: SearchWarning; + results_warning?: SearchWarning | null; }; export type SearchWarning = {