diff --git a/packages/solid/src/render/component.ts b/packages/solid/src/render/component.ts index d939b8af2..59f18cb9d 100644 --- a/packages/solid/src/render/component.ts +++ b/packages/solid/src/render/component.ts @@ -9,7 +9,7 @@ import { import { sharedConfig, nextHydrateContext, setHydrateContext } from "./hydration"; import type { JSX } from "../jsx"; -export type PropsWithChildren
= P & { children?: JSX.Element }; +export type PropsWithChildren
= P & { children?: JSX.Element }; export type Component
= (props: PropsWithChildren
) => JSX.Element; /** * Takes the props of the passed component and returns its type