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
'오류' 카테고리의 다른 글
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 |
DBeaver 오라클 연결 시 ORA-12514, TNS:listener does not currently know of service requested in connect descriptor (0) | 2023.10.24 |
sudo: apt-get : command not found (0) | 2023.08.28 |