[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
id: TS-UNION-001
|
||||
category: "10_Wiki/💡 Topics/AI"
|
||||
confidence_score: 1.0
|
||||
tags: [typescript, type-system, functional-programming, error-handling]
|
||||
tags: [typescript, type-system, [[Functional-Programming]], error-handling]
|
||||
last_reinforced: 2026-04-26
|
||||
---
|
||||
|
||||
# Discriminated Unions (판별 가능한 유니온)
|
||||
# [[Discriminated Unions]] (판별 가능한 유니온)
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "타입 가드를 자동화하는 영리한 리터럴 태그" — 공통된 속성(Tag)을 기준으로 여러 타입을 하나로 묶고, 코드 레벨에서 안전하게 특정 타입을 식별해낼 수 있게 하는 타입 설계 기법.
|
||||
@@ -26,4 +26,4 @@ last_reinforced: 2026-04-26
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- **Parent:** 10_Wiki/💡 Topics/AI
|
||||
- **Related:** Type-Guards, Algebraic-Data-Types, [[Exhaustiveness-Checking]]
|
||||
- **Raw Source:** 10_Wiki/Topics/AI/Discriminated-Unions-for-Error-Handling.md
|
||||
- **Raw Source:** 10_Wiki/Topics/AI/[[Discriminated-Unions]]-for-Error-Handling.md
|
||||
|
||||
Reference in New Issue
Block a user