From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- alarm/node_modules/graphql/error/syntaxError.js.flow | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 alarm/node_modules/graphql/error/syntaxError.js.flow (limited to 'alarm/node_modules/graphql/error/syntaxError.js.flow') diff --git a/alarm/node_modules/graphql/error/syntaxError.js.flow b/alarm/node_modules/graphql/error/syntaxError.js.flow deleted file mode 100644 index cdddcc3..0000000 --- a/alarm/node_modules/graphql/error/syntaxError.js.flow +++ /dev/null @@ -1,18 +0,0 @@ -// @flow strict -import type { 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 { - return new GraphQLError(`Syntax Error: ${description}`, undefined, source, [ - position, - ]); -} -- cgit