mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #29145 from 19majkel94/graphql-error-fix
[graphql] fix GraphQL Error originalError property type
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user