From 0aaab659f4e5f41d271c165a7fb1bb7d3eb4225a Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 25 Nov 2024 10:23:21 +0100 Subject: [PATCH] Pass typesInOwnModule to Value --- docs/components/apidoc.astro | 2 +- docs/components/value.astro | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/components/apidoc.astro b/docs/components/apidoc.astro index 59e8fbb..f437e26 100644 --- a/docs/components/apidoc.astro +++ b/docs/components/apidoc.astro @@ -52,7 +52,7 @@ if (values.length > 0) { values.length > 0 && ( <>

Values

- {values.map((value) => )} + {values.map((value) => )} ) } diff --git a/docs/components/value.astro b/docs/components/value.astro index 5282dd1..25c7b64 100644 --- a/docs/components/value.astro +++ b/docs/components/value.astro @@ -1,7 +1,7 @@ --- import { Code } from "@astrojs/starlight/components"; import SignatureItem from "./signatureItem.astro"; -const { value } = Astro.props; +const { value, typesInOwnModule } = Astro.props; const details = value.detail?.details || null; function showValue(detail) { @@ -19,10 +19,10 @@ function showValue(detail) {

Parameters

{details.parameters.map((p) => ( - + ))}

Return type

- +
) }