Skip to content

Commit

Permalink
update typing of SearchResponse for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
horrible-little-slime committed Jun 3, 2024
1 parent 93cfcc7 commit b489f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oaf/src/clients/googleSearch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from "../config.js";

type SearchResponse = {
items: { link: string }[];
items?: { link: string }[];
};

export async function googleSearch(query: string) {
Expand Down

0 comments on commit b489f8a

Please sign in to comment.