UNPKG

385 BTypeScriptView Raw
1/// <reference types="react" />
2import { DocumentNode } from 'graphql';
3import { CacheOperationTypes, CacheUpdatesOptions } from 'aws-appsync';
4export declare const graphqlMutation: (mutation: DocumentNode, cacheUpdateQuery: CacheUpdatesOptions, typename: string, idField?: string, operationType?: CacheOperationTypes) => (Component: any) => (props: any, context: any) => JSX.Element;