diff --git a/compat/src/index.d.ts b/compat/src/index.d.ts index 02762292bf..8c1cb8d669 100644 --- a/compat/src/index.d.ts +++ b/compat/src/index.d.ts @@ -74,7 +74,7 @@ declare namespace React { export function createPortal( vnode: preact.VNode, - container: Element + container: Element | DocumentFragment ): preact.VNode; export function render(