Skip to content

Commit 5de13b1

Browse files
helloguillebmullan91
authored andcommitted
fix: request options param is optional (#329)
* Missing ssrMode setting in ssr Quick Example Without ssrMode enabled the system will not dispatch the right Promise on cache-miss. * Fix GraphQLClient.request argument type: is optional * Revert "Missing ssrMode setting in ssr Quick Example" This reverts commit b8c934b.
1 parent cda05a8 commit 5de13b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-hooks/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class GraphQLClient {
2929
options: UseClientRequestOptions<Variables>
3030
): CacheKeyObject
3131
getFetchOptions(operation: Operation, fetchOptionsOverrides?: object): object
32-
request<ResponseData>(operation: Operation, options: object):
32+
request<ResponseData>(operation: Operation, options?: object):
3333
Promise<Result<ResponseData>>
3434
}
3535

0 commit comments

Comments
 (0)