fix(typing): ensure HTMLElement refs (#918)
This commit is contained in:
parent
4739be04f6
commit
40fb4b214e
|
|
@ -24,9 +24,9 @@ const state = ref<StateType>('unfocused')
|
|||
const val = ref<string>('')
|
||||
const model = defineModel<string>()
|
||||
|
||||
const suggestionScrollerRef = ref<HTMLInputElement | null>(null)
|
||||
const containerRef = ref<HTMLInputElement | null>(null)
|
||||
const editorRef = ref<HTMLInputElement | null>(null)
|
||||
const suggestionScrollerRef = ref<HTMLElement | null>(null)
|
||||
const containerRef = ref<HTMLElement | null>(null)
|
||||
const editorRef = ref<HTMLTextAreaElement | null>(null)
|
||||
|
||||
watch(
|
||||
() => model.value,
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ const router = useRouter()
|
|||
// newTaskInput.value.focus()
|
||||
// })
|
||||
|
||||
const taskAdd = ref<HTMLTextAreaElement | null>(null)
|
||||
const taskAdd = ref<HTMLElement | null>(null)
|
||||
const taskAddHovered = useElementHover(taskAdd)
|
||||
|
||||
const errorMessage = ref('')
|
||||
|
|
|
|||
Loading…
Reference in New Issue