refactor(editor): Correct some prop types (no-changelog) (#10907)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-09-23 09:19:37 +02:00
committed by GitHub
parent 769ddfdd1d
commit 60ee0d4ce7
22 changed files with 43 additions and 42 deletions

View File

@@ -3,8 +3,8 @@ import { onMounted, reactive, toRefs, onBeforeUnmount } from 'vue';
import { useExternalHooks } from '@/composables/useExternalHooks';
export interface Props {
placeholder: string;
modelValue: string;
placeholder?: string;
modelValue?: string;
}
withDefaults(defineProps<Props>(), {

View File

@@ -12,7 +12,7 @@ import LinkItem from '../ItemTypes/LinkItem.vue';
import CategorizedItemsRenderer from './CategorizedItemsRenderer.vue';
export interface Props {
elements: INodeCreateElement[];
elements?: INodeCreateElement[];
activeIndex?: number;
disabled?: boolean;
lazyRender?: boolean;