inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

로로와미미님의 게시글

로로와미미 로로와미미

@zxqwe00229579

수강평 작성수
-
평균평점
-

게시글 4

질문&답변

구글 콘솔로그 오류창이 계속 떠요

혹시 시크릿모드에서 사용해도 저런게 뜨나요 시크릿모드에서 안뜨면 확장프로그램 문제일가능성도있습니다!

좋아요수
0
댓글수
2
조회수
382

질문&답변

Exclude 만들기에서 extends 구문 질문

Distributive conditional types Conditional types in which the checked type is a naked type parameter are called distributive conditional types . Distributive conditional types are automatically distributed over union types during instantiation. For example, an instantiation of T extends U ? X : Y with the type argument A | B | C for T is resolved as (A extends U ? X : Y) | (B extends U ? X : Y) | (C extends U ? X : Y) . 공식문서 참고해서 혹시나 이부분고민하실 분들에게 설명드립니다 분배법칙으로 인해서 T 안에 유니온타입이 * 하나씩 * 대입해가면서 extends U 에 대입해가면서 포함되면 T 포함안되면 (never) never 는 유니온안에서 없는거나마찬가지입니다 즉 'Cat' | 'Dog' | never 이런결과를 얻었다면 => 'Cat' | 'Dog' 이런 타입이되는거죠

좋아요수
0
댓글수
2
조회수
379

질문&답변

죽어도 3버전 chart.js쓰고싶은분께

이미지 사이즈 안보이시는분은 오른쪽클릭 새탭으로 여시면 코드 자세하게보입니다

좋아요수
6
댓글수
2
조회수
632