Skip to content

Commit 41f9b4b

Browse files
Change type of <Fragment /> for better compatibility. (#3431)
1 parent 2af05f5 commit 41f9b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export function cloneElement<P>(
248248
// -----------------------------------
249249

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

253253
//
254254
// Preact options

0 commit comments

Comments
 (0)