Initial Save
This commit is contained in:
12
node_modules/graphql/utilities/getOperationAST.d.ts
generated
vendored
Normal file
12
node_modules/graphql/utilities/getOperationAST.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import Maybe from '../tsutils/Maybe';
|
||||
import { DocumentNode, OperationDefinitionNode } from '../language/ast';
|
||||
|
||||
/**
|
||||
* Returns an operation AST given a document AST and optionally an operation
|
||||
* name. If a name is not provided, an operation is only returned if only one is
|
||||
* provided in the document.
|
||||
*/
|
||||
export function getOperationAST(
|
||||
documentAST: DocumentNode,
|
||||
operationName: Maybe<string>,
|
||||
): Maybe<OperationDefinitionNode>;
|
||||
Reference in New Issue
Block a user