Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 997fc65

Browse files
committed
fix(templates): props definition
1 parent a3d8c5c commit 997fc65

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

docs/app/components/content/TemplateFeatures.vue

+5-8
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111
</template>
1212

1313
<script lang="ts" setup>
14-
defineProps({
14+
defineProps<{
1515
features: {
16-
type: Array as PropType<{
17-
label: string
18-
content: string
19-
}[]>,
20-
default: () => [],
21-
},
22-
})
16+
label: string
17+
content: string
18+
}[]
19+
}>()
2320
</script>

0 commit comments

Comments
 (0)