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';
|
import MkModal from './modal.vue';
|
||||||
|
|
||||||
withDefaults(defineProps<{
|
withDefaults(defineProps<{
|
||||||
withOkButton: boolean;
|
withOkButton?: boolean;
|
||||||
okButtonDisabled: boolean;
|
okButtonDisabled?: boolean;
|
||||||
width: number;
|
width?: number;
|
||||||
height: number | null;
|
height?: number | null;
|
||||||
scroll: boolean;
|
scroll?: boolean;
|
||||||
}>(), {
|
}>(), {
|
||||||
withOkButton: false,
|
withOkButton: false,
|
||||||
okButtonDisabled: false,
|
okButtonDisabled: false,
|
||||||
|
|
Loading…
Reference in a new issue