Skip to content

Commit a9e87ce

Browse files
Add missing exports for createLexer, syntaxError and locatedError (#1825)
1 parent 83ccbe2 commit a9e87ce

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ export type {
178178
export {
179179
Source,
180180
getLocation,
181+
// Lex
182+
createLexer,
181183
// Parse
182184
parse,
183185
parseValue,
@@ -327,7 +329,13 @@ export {
327329
export type { ValidationRule } from './validation';
328330

329331
// Create, format, and print GraphQL errors.
330-
export { GraphQLError, formatError, printError } from './error';
332+
export {
333+
GraphQLError,
334+
syntaxError,
335+
locatedError,
336+
printError,
337+
formatError,
338+
} from './error';
331339

332340
export type { GraphQLFormattedError } from './error';
333341

0 commit comments

Comments
 (0)