Skip to content

Commit

Permalink
fix: Datum.toComponent() should return ReactElement instead of Component
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Jul 5, 2024
1 parent 5f4da38 commit 14b06b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface HelmetTags {

export interface HelmetDatum {
toString(): string;
toComponent(): React.Component<any>;
toComponent(): React.ReactElement[];
}

export interface HelmetHTMLBodyDatum {
Expand Down

0 comments on commit 14b06b2

Please sign in to comment.