diff --git a/src/index.ts b/src/index.ts index c6e5107d74..75a1e6f0c0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -194,6 +194,7 @@ export { Token, Source, Location, + OperationTypeNode, getLocation, /** Print source location */ printLocation, @@ -248,7 +249,6 @@ export type { DefinitionNode, ExecutableDefinitionNode, OperationDefinitionNode, - OperationTypeNode, VariableDefinitionNode, VariableNode, SelectionSetNode, diff --git a/src/language/index.ts b/src/language/index.ts index 862896b074..fc0583ec6f 100644 --- a/src/language/index.ts +++ b/src/language/index.ts @@ -27,7 +27,7 @@ export { } from './visitor'; export type { ASTVisitor, ASTVisitFn, ASTVisitorKeyMap } from './visitor'; -export { Location, Token } from './ast'; +export { Location, Token, OperationTypeNode } from './ast'; export type { ASTNode, ASTKindToNode, @@ -37,7 +37,6 @@ export type { DefinitionNode, ExecutableDefinitionNode, OperationDefinitionNode, - OperationTypeNode, VariableDefinitionNode, VariableNode, SelectionSetNode,