[react] Property 'x' does not exist on type '{}'.ts 오류 해결


[react] Property 'x' does not exist on type '{}'.ts 오류 해결

리액트 hooks, typescript 프로젝트에서 아래와 같은 오류가 났습니다. 오류 메시지 Property 'x' does not exist on type '{}'.ts 해결 방법 useState() 에서 useState ()를 추가해줍니다. 배열 const [a..

[react] Property 'x' does not exist on type '{}'.ts 오류 해결에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


원문링크 : [react] Property 'x' does not exist on type '{}'.ts 오류 해결