Format fixes

pull/4931/head
tugcekucukoglu 2023-12-05 10:15:12 +03:00
parent 8eea973282
commit d9e162b1dc
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@
<template v-for="(value, i) in getType(v)" :key="value">
<span v-if="i !== 0" class="doc-option-type">{{ ' | ' }}</span>
<NuxtLink v-if="isLinkType(value)" :to="setLinkPath(value)" class="doc-option-type doc-option-link">{{ value }}</NuxtLink
><span v-else class="doc-option-type">{{ value ==='T'? 'any': value }}</span>
><span v-else class="doc-option-type">{{ value === 'T' ? 'any' : value }}</span>
</template>
</template>
<template v-else-if="k === 'options'">
<template v-for="val in v" :key="val.name">
<div class="doc-option-type-options-container">
{{ val.name }}: <span class="doc-option-type-options doc-option-type">{{ (val.type === 'T' || val.type.includes('<T>')) ? 'any' : val.type }}</span>
{{ val.name }}: <span class="doc-option-type-options doc-option-type">{{ val.type === 'T' || val.type.includes('<T') ? 'any' : val.type }}</span>
</div>
</template>
</template>