Format fixes
parent
8eea973282
commit
d9e162b1dc
|
@ -29,14 +29,14 @@
|
||||||
<template v-for="(value, i) in getType(v)" :key="value">
|
<template v-for="(value, i) in getType(v)" :key="value">
|
||||||
<span v-if="i !== 0" class="doc-option-type">{{ ' | ' }}</span>
|
<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
|
<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>
|
</template>
|
||||||
|
|
||||||
<template v-else-if="k === 'options'">
|
<template v-else-if="k === 'options'">
|
||||||
<template v-for="val in v" :key="val.name">
|
<template v-for="val in v" :key="val.name">
|
||||||
<div class="doc-option-type-options-container">
|
<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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue