@apollo/client
Version:
A fully-featured caching GraphQL client.
9 lines (8 loc) • 389 B
TypeScript
import type { DocumentNode } from "graphql";
/**
* @internal
*
* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.
*/
export declare function getOperationName<TFallback extends string | null | undefined = undefined>(doc: DocumentNode, fallback?: TFallback): string | TFallback;
//# sourceMappingURL=getOperationName.d.ts.map