diff --git a/packages/preact/index.mts b/packages/preact/index.mts index adc1cbb4..f0da196e 100644 --- a/packages/preact/index.mts +++ b/packages/preact/index.mts @@ -1,4 +1,4 @@ -import { VNode, createElement, ComponentChildren } from 'preact'; +import { JSX, VNode, createElement } from 'preact'; import { render } from 'preact-render-to-string'; import * as rulesPrerender from 'rules_prerender'; @@ -49,10 +49,13 @@ export function inlineStyle(importPath: string, meta: ImportMeta): VNode { return createElement('rules_prerender:annotation', {}, [ annotation ]); } +interface TemplateProps extends JSX.HTMLAttributes { + shadowroot?: ShadowRootMode; +} + /** A component representing the native HTML `