mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
refactor(editor): Fix TypeScript issues in template code (no-changelog) (#9574)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user