Skip to content

Commit a657bcc

Browse files
authored
fix: Datum.toComponent() should return ReactElement instead of Component
1 parent e827183 commit a657bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ declare module 'react-helmet-async' {
5959

6060
export interface HelmetDatum {
6161
toString(): string;
62-
toComponent(): React.Component<any>;
62+
toComponent(): React.ReactElement[];
6363
}
6464

6565
export interface HelmetHTMLBodyDatum {

0 commit comments

Comments
 (0)