Skip to content

Commit

Permalink
Change type of <Fragment /> for better compatibility. (#3431)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolftimmermans committed Jan 26, 2022
1 parent 2af05f5 commit 41f9b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export function cloneElement<P>(
// -----------------------------------

// TODO: Revisit what the public type of this is...
export const Fragment: ComponentClass<{}, {}>;
export const Fragment: FunctionComponent<{}>;

//
// Preact options
Expand Down

0 comments on commit 41f9b4b

Please sign in to comment.