From bc09574a24a79f543f27c47468c9ac1dff8c328b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lytek?= Date: Mon, 24 Sep 2018 12:42:38 +0200 Subject: [PATCH] [graphql] fix GraphQL Error extensions property type --- types/graphql/error/GraphQLError.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/graphql/error/GraphQLError.d.ts b/types/graphql/error/GraphQLError.d.ts index 2c7c69544b..9a649a5c99 100644 --- a/types/graphql/error/GraphQLError.d.ts +++ b/types/graphql/error/GraphQLError.d.ts @@ -59,7 +59,7 @@ export class GraphQLError extends Error { /** * The original error thrown from a field resolver during execution. */ - readonly originalError: Maybe & { readonly extensions: any }; + readonly originalError: Maybe; /** * Extension fields to add to the formatted error.