Skip to content

Commit

Permalink
Allow results_warning to be null (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
miagilepner committed Jul 23, 2021
1 parent 8bfcca3 commit 7f654f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ export type SearchAPIResponse<
}[];
next?: string;
previous?: string;
results_warning?: SearchWarning;
results_warning?: SearchWarning | null;
};

export type SearchWarning = {
Expand Down

0 comments on commit 7f654f2

Please sign in to comment.