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

Commit bcd47b8

Browse files
authored
Merge pull request #380 from chentsulin/patch-10
let type of document to be optional on RequestInfo
2 parents 81fe7a4 + b3c893a commit bcd47b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export type RequestInfo = {
101101
/**
102102
* The parsed GraphQL document.
103103
*/
104-
document: DocumentNode,
104+
document: ?DocumentNode,
105105

106106
/**
107107
* The variable values used at runtime.

0 commit comments

Comments
 (0)