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) {
52
52
values .length > 0 && (
53
53
<>
54
54
<h2 id = " values" >Values</h2 >
55
- { values .map ((value ) => <Value value = { value } />)}
55
+ { values .map ((value ) => <Value value = { value } typesInOwnModule = { typesInOwnModule } />)}
56
56
</>
57
57
)
58
58
}
Original file line number Diff line number Diff line change 1
1
---
2
2
import { Code } from " @astrojs/starlight/components" ;
3
3
import SignatureItem from " ./signatureItem.astro" ;
4
- const { value } = Astro .props ;
4
+ const { value, typesInOwnModule } = Astro .props ;
5
5
const details = value .detail ?.details || null ;
6
6
7
7
function showValue(detail ) {
@@ -19,10 +19,10 @@ function showValue(detail) {
19
19
<div class = " value_detail" >
20
20
<h4 >Parameters</h4 >
21
21
{ details .parameters .map ((p ) => (
22
- <SignatureItem item = { p } />
22
+ <SignatureItem item = { p } typesInOwnModule = { typesInOwnModule } />
23
23
))}
24
24
<h4 >Return type</h4 >
25
- <SignatureItem item = { details .returnType } />
25
+ <SignatureItem item = { details .returnType } typesInOwnModule = { typesInOwnModule } />
26
26
</div >
27
27
)
28
28
}
You can’t perform that action at this time.
0 commit comments