We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff85c99 commit e2a2a69Copy full SHA for e2a2a69
app/components/Package/Replacement.vue
@@ -14,11 +14,8 @@ const nodeVersion = computed(() => {
14
return nodeEngine?.minVersion || null
15
})
16
17
-const replacementDescription =
18
- props.replacement.type === 'documented'
19
- ? null
20
- : useMarkdown(() => ({
21
- text: props.replacement.description ?? '',
+const replacementDescription =useMarkdown(() => ({
+ text: (props.replacement as {description?:string}).description ?? '',
22
}))
23
</script>
24
0 commit comments