From 14b06b245e180be7828c6e2fe69ec41f63acb54b Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sat, 9 Apr 2022 22:13:51 +0800 Subject: [PATCH] fix: Datum.toComponent() should return ReactElement instead of Component --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index e1095628..d3cb4437 100644 --- a/src/types.ts +++ b/src/types.ts @@ -33,7 +33,7 @@ export interface HelmetTags { export interface HelmetDatum { toString(): string; - toComponent(): React.Component; + toComponent(): React.ReactElement[]; } export interface HelmetHTMLBodyDatum {