Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Fix RequestInfo TS type
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrearden committed Jun 27, 2020
1 parent 194b842 commit dc09163
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ export interface RequestInfo {
/**
* The variable values used at runtime.
*/
variables: { readonly [name: string]: unknown };
variables: { readonly [name: string]: unknown } | null;

/**
* The (optional) operation name requested.
*/
operationName: string;
operationName: string | null;

/**
* The result of executing the operation.
*/
result: unknown;
result: ExecutionResult | null;

/**
* A value to pass as the context to the graphql() function.
Expand Down

0 comments on commit dc09163

Please sign in to comment.