We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GraphQLError
1 parent 7bf4daf commit 64c0ed6Copy full SHA for 64c0ed6
src/error/GraphQLError.d.ts
@@ -13,7 +13,7 @@ import { SourceLocation } from '../language/location';
13
export class GraphQLError extends Error {
14
constructor(
15
message: string,
16
- nodes?: ReadonlyArray<ASTNode> | ASTNode,
+ nodes?: Maybe<ReadonlyArray<ASTNode> | ASTNode>,
17
source?: Maybe<Source>,
18
positions?: Maybe<ReadonlyArray<number>>,
19
path?: Maybe<ReadonlyArray<string | number>>,
0 commit comments