diff --git a/src/graphql/index.ts b/src/graphql/index.ts index b73c37774a..09dfc49e6c 100644 --- a/src/graphql/index.ts +++ b/src/graphql/index.ts @@ -1,4 +1,5 @@ -import GraphQL, { GraphQLObjectType, GraphQLSchema } from 'graphql'; +import * as GraphQL from 'graphql'; +import { GraphQLObjectType, GraphQLSchema } from 'graphql'; import { graphqlHTTP } from 'express-graphql'; import queryComplexity, { simpleEstimator, fieldExtensionsEstimator } from 'graphql-query-complexity'; import buildObjectType from './schema/buildObjectType';