From a9e87ce3f31393e824544aa9d98ff17ccb745629 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Tue, 23 Apr 2019 16:28:23 +0300 Subject: [PATCH] Add missing exports for createLexer, syntaxError and locatedError (#1825) --- src/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 47290bb47e..43d92cb584 100644 --- a/src/index.js +++ b/src/index.js @@ -178,6 +178,8 @@ export type { export { Source, getLocation, + // Lex + createLexer, // Parse parse, parseValue, @@ -327,7 +329,13 @@ export { export type { ValidationRule } from './validation'; // Create, format, and print GraphQL errors. -export { GraphQLError, formatError, printError } from './error'; +export { + GraphQLError, + syntaxError, + locatedError, + printError, + formatError, +} from './error'; export type { GraphQLFormattedError } from './error';