Skip to content

Commit

Permalink
feat: allow defining symbol error extensions (#3730)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l authored Jun 21, 2024
1 parent c985c27 commit 29c1bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error/GraphQLError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type { Source } from '../language/source';
* an object which can contain all the values you need.
*/
export interface GraphQLErrorExtensions {
[attributeName: string]: unknown;
[attributeName: string | symbol]: unknown;
}

export interface GraphQLErrorOptions {
Expand Down

0 comments on commit 29c1bff

Please sign in to comment.