반응형
Argument of type 'Ref<x>' is not assignable to parameter of type 'x'
Using the new Composition API I am trying to get data from an input and pass it to a function which expects a string. However, TypeScript is complaining the types don't match up because one is a Re...
stackoverflow.com
const name = ref('')
name // <-- Ref object
name.value // <-- string
반응형
'오류' 카테고리의 다른 글
jenv add "ln No such file or directory" (1) | 2025.01.31 |
---|---|
prompt_status:5: command not found: wc (0) | 2025.01.31 |
SCP: Connection Closed (0) | 2024.04.18 |
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (0) | 2024.04.16 |
Property 'id' does not exist on type 'never'. ts (0) | 2024.01.30 |