We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8037eaf commit 79aaaffCopy full SHA for 79aaaff
packages/aws-appsync/src/client.ts
@@ -141,7 +141,7 @@ class AWSAppSyncClient<TCacheShape> extends ApolloClient<TCacheShape> {
141
complexObjectsCredentials,
142
cacheOptions = {},
143
disableOffline = false
144
- }: AWSAppSyncClientOptions, options: ApolloClientOptions<InMemoryCache>) {
+ }: AWSAppSyncClientOptions, options?: ApolloClientOptions<InMemoryCache>) {
145
const { cache: customCache = undefined, link: customLink = undefined } = options || {};
146
147
if (!customLink && (!url || !region || !auth)) {
0 commit comments