diff --git a/src/HygraphLoader.ts b/src/HygraphLoader.ts index 07d3624..80a5b42 100644 --- a/src/HygraphLoader.ts +++ b/src/HygraphLoader.ts @@ -15,7 +15,7 @@ export interface HygraphLoaderOptions { /** The operation to fetch from the API */ operation: string | IOperation; /** The GraphQL variables to pass to the API */ - variables?: Array; + variables?: Record>; /** The rich text field to render */ richText?: string; }