typescript / Field note사수에게 칭찬받는 TypeScript 핵심 패턴 5가지Exhaustiveness Check, Branded Types, as const 등 실무에서 바로 써먹는 고품질 TS 패턴 5선.2024년 5월 13일7분 읽기Contents011. Exhaustiveness Checking (모든 케이스 처리 강제하기)022. Branded Types (같은 타입, 다른 의미 구분하기)033. Discriminated Unions (구별된 유니온)044. as const (리터럴 추론)055. Type Predicates (06마치며Filed under
독자의 메모
00 COMMENTS