Skip to content

Commit

Permalink
imports graphql-tools without ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresPrez committed May 25, 2022
1 parent d1a31a5 commit 3302a20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rewriters/FieldArgTypeRewriter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO: Importing this module with ES6 causes type issues at building.
const { astFromValueUntyped } = require('@graphql-tools/utils');
import {
ArgumentNode,
ValueNode,
Expand All @@ -10,7 +12,6 @@ import {
isValueNode,
valueFromASTUntyped
} from 'graphql';
import { astFromValueUntyped } from '@graphql-tools/utils';
import Maybe from 'graphql/tsutils/Maybe';
import { NodeAndVarDefs, nodesMatch } from '../ast';
import { identifyFunc } from '../utils';
Expand Down

0 comments on commit 3302a20

Please sign in to comment.