File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if (values.length > 0) {
5252 values .length > 0 && (
5353 <>
5454 <h2 id = " values" >Values</h2 >
55- { values .map ((value ) => <Value value = { value } />)}
55+ { values .map ((value ) => <Value value = { value } typesInOwnModule = { typesInOwnModule } />)}
5656 </>
5757 )
5858 }
Original file line number Diff line number Diff line change 11---
22import { Code } from " @astrojs/starlight/components" ;
33import SignatureItem from " ./signatureItem.astro" ;
4- const { value } = Astro .props ;
4+ const { value, typesInOwnModule } = Astro .props ;
55const details = value .detail ?.details || null ;
66
77function showValue(detail ) {
@@ -19,10 +19,10 @@ function showValue(detail) {
1919 <div class = " value_detail" >
2020 <h4 >Parameters</h4 >
2121 { details .parameters .map ((p ) => (
22- <SignatureItem item = { p } />
22+ <SignatureItem item = { p } typesInOwnModule = { typesInOwnModule } />
2323 ))}
2424 <h4 >Return type</h4 >
25- <SignatureItem item = { details .returnType } />
25+ <SignatureItem item = { details .returnType } typesInOwnModule = { typesInOwnModule } />
2626 </div >
2727 )
2828 }
You can’t perform that action at this time.
0 commit comments