diff --git a/docs/api/react.componentprops.md b/docs/api/react.componentprops.md index 68d4880..93129ff 100644 --- a/docs/api/react.componentprops.md +++ b/docs/api/react.componentprops.md @@ -14,7 +14,9 @@ P, C extends string, Is extends keyof JSX.IntrinsicElements | React.JSXElementConstructor, InlineConditionName extends string, -OwnProps = (string extends C +OwnProps = { + is?: Is; +} & (string extends C ? unknown : { conditions?: { @@ -35,9 +37,7 @@ Partial<{ ? P[PropName] : never; }>, -> = { - is?: Is; -} & Omit< +> = Omit< JSX.LibraryManagedAttributes>, keyof OwnProps > &