diff --git a/src/index.ts b/src/index.ts index b3492bf..2423988 100644 --- a/src/index.ts +++ b/src/index.ts @@ -96,7 +96,7 @@ const JsonEditorVue = defineComponent({ const modeComputed = ref() watchEffect(() => { modeComputed.value = conclude([props.mode, propsGlobal.mode], { - type: String as PropType, + type: String, }) jsonEditor.value?.updateProps({ mode: modeComputed.value || Mode.tree, @@ -112,11 +112,11 @@ const JsonEditorVue = defineComponent({ const debounceComputed = computed(() => { return conclude([props.debounce, propsGlobal.debounce, 300], { - type: Number as PropType, + type: Number, }) }) const stringifiedComputed = computed(() => conclude([props.stringified, propsGlobal.stringified, true], { - type: Boolean as PropType, + type: Boolean, })) let parse = destr