Skip to content

Commit

Permalink
Re-export ErrorInfo type (#4541)
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-torres-marin authored Oct 31, 2024
1 parent 8447cf7 commit 07dc9f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 07dc9f3

Please sign in to comment.