Skip to content

Commit

Permalink
Merge pull request #3228 from henryqdineen/hqd-compat-types
Browse files Browse the repository at this point in the history
compat internal types: import and re-export PreactElement
  • Loading branch information
rschristian authored Apr 23, 2024
2 parents e2c8a45 + cab57f2 commit f0c3e1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compat/src/internal.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import {
Component as PreactComponent,
VNode as PreactVNode,
FunctionComponent as PreactFunctionComponent
FunctionComponent as PreactFunctionComponent,
PreactElement
} from '../../src/internal';
import { SuspenseProps } from './suspense';

export { ComponentChildren } from '../..';

export { PreactElement } from '../../src/internal';
export { PreactElement };

export interface Component<P = {}, S = {}> extends PreactComponent<P, S> {
isReactComponent?: object;
Expand Down

0 comments on commit f0c3e1d

Please sign in to comment.