본문 바로가기

Input + Output = True

검색하기
Input + Output = True
프로필사진 IOTrue

  • 분류 전체보기 (104)
    • 📔개발 일기 (25)
    • 🎨FrontEnd (40)
      • Javascript (13)
      • typescript (1)
      • Vue (7)
      • React (13)
      • html (1)
      • css (2)
    • 🔨BackEnd (3)
      • python (2)
      • mongoDB (1)
    • 💻Network (4)
    • 🔎Web (2)
    • 👩‍💻CS (4)
    • 🕵Algorithm (25)
    • ❌Error (1)
    • 🤖Ai (0)
Guestbook
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록🎨FrontEnd/typescript (1)

Input + Output = True

React index.tsx 타입스크립트 에러

React typescript root Error argument of type 'htmlelement | null' is not assignable to parameter of type 'element | documentfragment' 셀렉터의 타입을 지정해주면 된다. index.tsx에서는 document.getElementById('root') 1. 에러 : document.getElementById('root') 2. 해결 : document.getElementById('root') as HTMLElement

🎨FrontEnd/typescript 2023. 4. 1. 22:44
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바