Skip to content

Commit

Permalink
fix: Re-export ComponentChild as ReactNode in compat's types
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Jul 22, 2023
1 parent 5a56a83 commit 3e43ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ declare namespace React {
export import createElement = preact.createElement;
export import cloneElement = preact.cloneElement;
export import ComponentProps = preact.ComponentProps;
export import ReactNode = preact.ComponentChild;

// Suspense
export import Suspense = _Suspense.Suspense;
Expand Down

0 comments on commit 3e43ba1

Please sign in to comment.