diff --git a/packages/vike-angular/renderer/onRenderHtml.tsx b/packages/vike-angular/renderer/onRenderHtml.tsx index 9f33027..9db492a 100644 --- a/packages/vike-angular/renderer/onRenderHtml.tsx +++ b/packages/vike-angular/renderer/onRenderHtml.tsx @@ -66,7 +66,7 @@ const onRenderHtml: OnRenderHtmlAsync = async (pageContext): ReturnType` } - let documentHtml: string | ReturnType + let documentHtml: ReturnType const Layout = pageContext.config.Layout ?? undefined if (Page) { // Angular needs the whole html, because it injects things to head