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 authored Apr 9, 2022
1 parent e827183 commit a657bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ declare module 'react-helmet-async' {

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

export interface HelmetHTMLBodyDatum {
Expand Down

0 comments on commit a657bcc

Please sign in to comment.