Merge pull request #29145 from 19majkel94/graphql-error-fix

[graphql] fix GraphQL Error originalError property type
This commit is contained in:
Andrew Casey
2018-09-24 11:15:58 -07:00
committed by GitHub
+1 -1
View File
@@ -59,7 +59,7 @@ export class GraphQLError extends Error {
/**
* The original error thrown from a field resolver during execution.
*/
readonly originalError: Maybe<Error> & { readonly extensions: any };
readonly originalError: Maybe<Error>;
/**
* Extension fields to add to the formatted error.