티스토리 뷰
개발일기/TS
[TS] Property 'name' does not exist on type 'EventTarget' .ts(2339)
eungwang1 2022. 3. 24. 01:24[TS] Property 'name' does not exist on type 'EventTarget'
> EvenTarget에 name 속성이 존재하지 않아서 발생하는 타입오류
> 해결 : TypeAssertion을 이용해 해결 할 수 있다.
'개발일기 > TS' 카테고리의 다른 글
[Typescript] '!.' 연산자 - Non-null assertion operator (0) | 2022.09.21 |
---|---|
[TS] Object is of type 'unknown'.ts(2571) (error object) (0) | 2022.03.24 |
[TS] useState props 전달 할 때 타입 지정하는 방법, TypeScript 코드 예시 (0) | 2022.03.13 |
[TS] Value must be omitted for boolean attributes 에러 해결방법 (0) | 2022.03.12 |
[TS] StyledComponents 에서 props타입 지정하기. (0) | 2022.03.07 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nextjs
- 실기CBT
- 전기기사필기
- 전자기학
- gathertown
- JavaScript
- 전기기사실기CBT
- 산업안전기사 실기
- 전력공학
- 게더타운맵
- KEC반영
- 전기기사
- 산업안전기사
- TypeScript
- React
- 개더타운
- 게더타운
- 전기기기
- 전기산업기사
- 전기기사 필기
- fakerjs
- zep
- 모두CBT
- 전기공사기사
- cbt
- TS
- 산안기 합격률
- shortid
- dummydata
- 전기기사실기단답
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함