From 7066c2c7263b34b2af3110fc71edc05eaeeb733d Mon Sep 17 00:00:00 2001 From: Denis Badurina Date: Tue, 14 Jan 2025 09:30:21 +0100 Subject: [PATCH] Re-export GraphQLFormattedError as type (#4326) Closes #4325 --- src/error/formatError.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/error/formatError.js b/src/error/formatError.js index 869e16f2e0..a0bf06ae4e 100644 --- a/src/error/formatError.js +++ b/src/error/formatError.js @@ -1 +1,2 @@ -export { formatError, GraphQLFormattedError } from './GraphQLError'; +export { formatError } from './GraphQLError'; +export type { GraphQLFormattedError } from './GraphQLError';