Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/Types.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<div class="docs-type inline-block whitespace-pre-wrap">
<span class="font-semibold">{{ nullable ? '?' : '' }}{{ variable ? '...' : '' }}</span>
<span v-if="Array.isArray(names)">
<TypeLink v-for="type in names" :key="typeKey(type)" :type="type" />
<template v-for="type in names">
<TypeLink v-if="type[1]" :key="typeKey(type)" :type="type" />
<div v-else class="docs-type inline-block whitespace-pre-wrap">
<TypeLink :key="typeKey(type)" :type="type" />
Comment thread
brynpttrsn marked this conversation as resolved.
Outdated
</div>
</template>
</span>
</div>
</template>
Expand Down