Skip to content

Commit

Permalink
import and re-export PreactElement
Browse files Browse the repository at this point in the history
  • Loading branch information
henryqdineen committed Jul 16, 2021
1 parent 7e33abd commit a1309b8
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 a1309b8

Please sign in to comment.