diff options
Diffstat (limited to 'school/node_modules/graphql/error/syntaxError.d.ts')
-rw-r--r-- | school/node_modules/graphql/error/syntaxError.d.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/school/node_modules/graphql/error/syntaxError.d.ts b/school/node_modules/graphql/error/syntaxError.d.ts new file mode 100644 index 0000000..1c5413c --- /dev/null +++ b/school/node_modules/graphql/error/syntaxError.d.ts @@ -0,0 +1,13 @@ +import { Source } from '../language/source'; + +import { GraphQLError } from './GraphQLError'; + +/** + * Produces a GraphQLError representing a syntax error, containing useful + * descriptive information about the syntax error's position in the source. + */ +export function syntaxError( + source: Source, + position: number, + description: string, +): GraphQLError; |