From 20f1e6cb044254af7a0db72cc9dab95d32db0333 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 13 Apr 2021 14:55:06 -0400 Subject: [PATCH] fix: revises graphql import syntax --- src/graphql/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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';