Skip to content

Commit

Permalink
Add missing exports for createLexer, syntaxError and locatedError (#1825
Browse files Browse the repository at this point in the history
)
  • Loading branch information
IvanGoncharov committed Apr 23, 2019
1 parent 83ccbe2 commit a9e87ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/index.js
Expand Up @@ -178,6 +178,8 @@ export type {
export {
Source,
getLocation,
// Lex
createLexer,
// Parse
parse,
parseValue,
Expand Down Expand Up @@ -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';

Expand Down

0 comments on commit a9e87ce

Please sign in to comment.