Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export OperationTypeNode as value #3316

Merged
merged 1 commit into from Oct 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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