issues
search
Kyounghwan01
/
blog
꾸준히 기록하는 개발 블로그!
https://kyounghwan01.github.io/blog/
MIT License
308
stars
9
forks
source link
ts 기본 포스팅 수정
#8
Closed
Kyounghwan01
closed
3 years ago
Kyounghwan01
commented
3 years ago
[x] 유니온
[x] 제네릭
[x] 타입 제한
[x] promise
[x] 타입 추론
[x] 타입 가드
[x] type assertion
[x] 유틸리티 타입
[x] axios response 정의
[x] Type 'null' is not assignable to type 'string'.ts(2322), Object is possibly 'null'.ts(2531) 해결
옵셔널체이닝 사용
타입 어설션 사용 (as, !)
if문으로 null check