Skip to content

Commit

Permalink
Export missing exports for apollo-client
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Oct 31, 2024
1 parent 0e92930 commit 3fb40f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { ASTNode, SelectionNode } from './ast';

export function isSelectionNode(node: ASTNode): node is SelectionNode {
return node.kind === 'Field' || node.kind === 'FragmentSpread' || node.kind === 'InlineFragment';
}

export function Source() {
/* NOOP */
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export * from './parser';
export * from './visitor';
export * from './printer';
export * from './values';
export * from './helpers';

0 comments on commit 3fb40f2

Please sign in to comment.