Skip to content

Commit 20f1e6c

Browse files
committed
fix: revises graphql import syntax
1 parent f2e3c1b commit 20f1e6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/graphql/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import GraphQL, { GraphQLObjectType, GraphQLSchema } from 'graphql';
1+
import * as GraphQL from 'graphql';
2+
import { GraphQLObjectType, GraphQLSchema } from 'graphql';
23
import { graphqlHTTP } from 'express-graphql';
34
import queryComplexity, { simpleEstimator, fieldExtensionsEstimator } from 'graphql-query-complexity';
45
import buildObjectType from './schema/buildObjectType';

0 commit comments

Comments
 (0)