diff --git a/docs/lib/tsdoc/tsdoc.tsx b/docs/lib/tsdoc/tsdoc.tsx index 93e0cfa43..dad85fc60 100644 --- a/docs/lib/tsdoc/tsdoc.tsx +++ b/docs/lib/tsdoc/tsdoc.tsx @@ -132,8 +132,8 @@ function FunctionSignature({ - - {linkify(prop.type, typeLinkMap)} + + {linkify(prop.description || '', typeLinkMap)} ); @@ -175,12 +175,12 @@ function FunctionSignature({ return ( - + {linkify(type, typeLinkMap)} - + {description && (

{linkify(description, typeLinkMap)} @@ -210,10 +210,7 @@ const Row: FC<{ return ( {children} @@ -225,7 +222,7 @@ const NameCell: FC<{ optional?: boolean; }> = ({ name, optional }) => { return ( - + {name && ( = ({ type, typeLinkMap }) => { return ( - - {linkify(type, typeLinkMap)} - + {linkify(type, typeLinkMap)} ); }; @@ -283,11 +278,9 @@ const FieldsTable: FC<{ {linkify(description, typeLinkMap)}