Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function withOnCommentAdded(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withSubscription>(OnCommentAddedDocument, {
alias: 'onCommentAdded',
...operationOptions,
});
}
export function withOnCommentAdded(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withSubscription>(OnCommentAddedDocument, {
alias: 'onCommentAdded',
...operationOptions,
});
}
export type OnCommentAddedSubscriptionResult = ApolloReactCommon.SubscriptionResult;
export function withOnCommentAdded(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withSubscription>(OnCommentAddedDocument, {
alias: 'onCommentAdded',
...operationOptions,
});
}
export type OnCommentAddedSubscriptionResult = ApolloReactCommon.SubscriptionResult;
export function withOnCommentAdded(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withSubscription>(OnCommentAddedDocument, {
alias: 'onCommentAdded',
...operationOptions,
});
}
export type OnCommentAddedSubscriptionResult = ApolloReactCommon.SubscriptionResult;
export function withOnCounterUpdated(operationOptions?: ApolloReactHoc.OperationOption<
TProps,
OnCounterUpdatedSubscription,
OnCounterUpdatedSubscriptionVariables,
OnCounterUpdatedProps>) {
return ApolloReactHoc.withSubscription>(OnCounterUpdatedDocument, {
alias: 'onCounterUpdated',
...operationOptions
});
};
export type OnCounterUpdatedSubscriptionResult = ApolloReactCommon.SubscriptionResult;