Skip to content

Commit

Permalink
Export OperationTypeNode as value (#3316)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Oct 15, 2021
1 parent 06d9cb4 commit 3deb5cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -194,6 +194,7 @@ export {
Token,
Source,
Location,
OperationTypeNode,
getLocation,
/** Print source location */
printLocation,
Expand Down Expand Up @@ -248,7 +249,6 @@ export type {
DefinitionNode,
ExecutableDefinitionNode,
OperationDefinitionNode,
OperationTypeNode,
VariableDefinitionNode,
VariableNode,
SelectionSetNode,
Expand Down
3 changes: 1 addition & 2 deletions src/language/index.ts
Expand Up @@ -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,
Expand All @@ -37,7 +37,6 @@ export type {
DefinitionNode,
ExecutableDefinitionNode,
OperationDefinitionNode,
OperationTypeNode,
VariableDefinitionNode,
VariableNode,
SelectionSetNode,
Expand Down

0 comments on commit 3deb5cc

Please sign in to comment.