You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@enisdenjo This export of GraphQLFormattedError should be prefaced with the type keyword to avoid it exporting as regular JS in your build process: https://github.com/graphql/graphql-js/blob/v15.10.0/src/error/formatError.js export { formatError, GraphQLFormattedError } from './GraphQLError'; in src/error/formatError.js of the v15 branch for the link-averse.
The text was updated successfully, but these errors were encountered:
hackwater
changed the title
Type exported as JS breaks imports
Type exported as JS breaks imports (v15.x.x branch)
Jan 13, 2025
@enisdenjo This export of GraphQLFormattedError should be prefaced with the type keyword to avoid it exporting as regular JS in your build process: https://github.com/graphql/graphql-js/blob/v15.10.0/src/error/formatError.js
export { formatError, GraphQLFormattedError } from './GraphQLError';
in src/error/formatError.js of the v15 branch for the link-averse.The text was updated successfully, but these errors were encountered: