Skip to content

Commit 14b06b2

Browse files
committed
fix: Datum.toComponent() should return ReactElement instead of Component
1 parent 5f4da38 commit 14b06b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface HelmetTags {
3333

3434
export interface HelmetDatum {
3535
toString(): string;
36-
toComponent(): React.Component<any>;
36+
toComponent(): React.ReactElement[];
3737
}
3838

3939
export interface HelmetHTMLBodyDatum {

0 commit comments

Comments
 (0)