From 31ca8b6c526d94a71cb6c831ce4ace803068ec2a Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Tue, 18 Feb 2020 20:43:13 +0100 Subject: [PATCH] ArangoDB: Remove import of graphql (#42430) * Remove import of graphql * Oops * Oh come on --- types/arangodb/index.d.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/types/arangodb/index.d.ts b/types/arangodb/index.d.ts index 17e6c3c67c..26fd6b34f5 100644 --- a/types/arangodb/index.d.ts +++ b/types/arangodb/index.d.ts @@ -1531,9 +1531,17 @@ declare module "@arangodb/foxx/queues" { } declare module "@arangodb/foxx/graphql" { - import { formatError, GraphQLSchema } from "graphql"; - type GraphQLModule = object; - type GraphQLFormatErrorFunction = typeof formatError; + type GraphQLSchema = object; + type GraphQLFormatErrorFunction = (error: any) => any; + interface GraphQLModule { + formatError: GraphQLFormatErrorFunction; + Source: any; + parse: any; + validate: any; + specifiedRules: any; + getOperationAST: any; + execute: any; + } interface GraphQLOptions { schema: GraphQLSchema; context?: any;