Skip to content

Commit d4aeb2f

Browse files
committed
types: Type 'Element' is missing the following properties from type 'HTMLDivElement': align, accessKey, accessKeyLabel, autocapitalize, and 126 more
1 parent 69bbc18 commit d4aeb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const JsonEditorVue = defineComponent({
202202
)
203203

204204
jsonEditor.value = createJSONEditor({
205-
target: currentInstance?.$refs.jsonEditorRef as Element,
205+
target: currentInstance?.$refs.jsonEditorRef as HTMLDivElement,
206206
props: initialAttrs,
207207
})
208208

0 commit comments

Comments
 (0)