We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d928c21 commit aa63441Copy full SHA for aa63441
src/utils.ts
@@ -23,10 +23,10 @@ export const set = _set
23
24
export const get = _get
25
26
-export type FieldNode = HTMLElement | null | ComponentPublicInstance
+export type FieldNode = Element | null | ComponentPublicInstance
27
export const getDOMNode = (value: FieldNode) => {
28
- if (value === null || value instanceof HTMLElement) {
+ if (value === null || value instanceof Element) {
29
return value
30
}
31
- return value.$el as HTMLElement
+ return value.$el as Element
32
0 commit comments