• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

함수인터페이스

[#set함수의 초깃값 타입]Type error: Type 'Dispatch < SetStateAction>' is not assignable to > type '() => void'. TS2322

Type error: Type 'Dispatch < SetStateAction>' is not assignable to > type '() => void'. TS2322 부모, Router.tsx 자식, Test.tsx 다음의 내용이 생각났습니다. 함수(setEmail,setPassword,handleAction)을 보내기 때문에, 자식에서 props의 타입을 함수 타입(()=> void)으...

함수인터페이스Type SetStateActionType SetStateAction

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more