refactor(editor): Fix TypeScript issues in template code (no-changelog) (#9574)

This commit is contained in:
Elias Meire
2024-05-31 15:07:49 +02:00
committed by GitHub
parent d361b42c70
commit 1cefd488fe
11 changed files with 94 additions and 44 deletions

View File

@@ -13,9 +13,10 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { type PropType, defineComponent } from 'vue';
import Card from '@/components/CollectionWorkflowCard.vue';
import NodeList from '@/components/NodeList.vue';
import type { ITemplatesCollection } from '@/Interface';
export default defineComponent({
name: 'TemplatesInfoCard',
@@ -24,12 +25,13 @@ export default defineComponent({
NodeList,
},
props: {
collection: {
type: Object as PropType<ITemplatesCollection>,
required: true,
},
loading: {
type: Boolean,
},
collection: {
type: Object,
},
showItemCount: {
type: Boolean,
default: true,