@@ -40,7 +40,7 @@ function ensureHydrationRenderer() {
|
||||
// use explicit type casts here to avoid import() calls in rolled-up d.ts
|
||||
export const render = ((...args) => {
|
||||
ensureRenderer().render(...args)
|
||||
}) as RootRenderFunction<Node, Element>
|
||||
}) as RootRenderFunction<Element>
|
||||
|
||||
export const hydrate = ((...args) => {
|
||||
ensureHydrationRenderer().hydrate(...args)
|
||||
|
||||
Reference in New Issue
Block a user