diff --git a/scripts/react-ssr-prepass.d.ts b/scripts/react-ssr-prepass.d.ts index 782aa75..22d4382 100644 --- a/scripts/react-ssr-prepass.d.ts +++ b/scripts/react-ssr-prepass.d.ts @@ -1,6 +1,6 @@ declare module 'react-ssr-prepass' { type Visitor = ( - element: React.ElementType, + element: React.ReactElement, instance?: React.Component ) => void | Promise