From 07dc9f324e58569ce66634aa03fe8949b4190358 Mon Sep 17 00:00:00 2001 From: Jose Torres <5922758+jose-torres-marin@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:06:30 +0000 Subject: [PATCH] Re-export ErrorInfo type (#4541) --- compat/src/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compat/src/index.d.ts b/compat/src/index.d.ts index 3c4b8844bd..a77c412bde 100644 --- a/compat/src/index.d.ts +++ b/compat/src/index.d.ts @@ -66,7 +66,8 @@ declare namespace React { export import ReactNode = preact.ComponentChild; export import ReactElement = preact.VNode; export import Consumer = preact.Consumer; - + export import ErrorInfo = preact.ErrorInfo; + // Suspense export import Suspense = _Suspense.Suspense; export import lazy = _Suspense.lazy;