Browse Source

fix(gui-v2): wrong typing

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
7383de4002
  1. 2
      packages/nc-gui-v2/components/monaco/Editor.vue

2
packages/nc-gui-v2/components/monaco/Editor.vue

@ -9,7 +9,7 @@ import { deepCompare } from '~/utils'
interface Props { interface Props {
modelValue: string modelValue: string
lang?: string lang?: string
validate?: Boolean validate?: boolean
} }
const { modelValue, lang = 'json', validate = true } = defineProps<Props>() const { modelValue, lang = 'json', validate = true } = defineProps<Props>()

Loading…
Cancel
Save