forked from FoundKeyGang/FoundKey
client: mark properties with defaults as optional
This commit is contained in:
parent
9dddb1eb6d
commit
06e40246db
1 changed files with 5 additions and 5 deletions
|
@ -21,11 +21,11 @@ import { onMounted, onUnmounted } from 'vue';
|
|||
import MkModal from './modal.vue';
|
||||
|
||||
withDefaults(defineProps<{
|
||||
withOkButton: boolean;
|
||||
okButtonDisabled: boolean;
|
||||
width: number;
|
||||
height: number | null;
|
||||
scroll: boolean;
|
||||
withOkButton?: boolean;
|
||||
okButtonDisabled?: boolean;
|
||||
width?: number;
|
||||
height?: number | null;
|
||||
scroll?: boolean;
|
||||
}>(), {
|
||||
withOkButton: false,
|
||||
okButtonDisabled: false,
|
||||
|
|
Loading…
Reference in a new issue