docs: finalized wiki integrity maintenance (v3.0 standard) - pruned 1400+ stubs and fixed 11k+ ghost links
This commit is contained in:
@@ -6,7 +6,7 @@ tags: [TypeScript, Safety, ExhaustivenessCheck, NeverType]
|
||||
last_reinforced: 2026-04-20
|
||||
---
|
||||
|
||||
# [[Exhaustiveness-Checking]] (망라성 검사)
|
||||
# [[Exhaustiveness-Checking|Exhaustiveness-Checking]] (망라성 검사)
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "빠진 케이스가 없는지 컴파일러가 대신 체크하는 완벽주의자의 도구." 모든 가능한 타입 시나리오를 처리했음을 논리적으로 보장하여, 나중에 새로운 타입이 추가되었을 때 발생할 수 있는 런타임 에러를 원천 봉쇄하는 기법이다.
|
||||
@@ -23,5 +23,5 @@ last_reinforced: 2026-04-20
|
||||
- 망라성 검사는 '닫힌 시스템(Closed System)'에서는 완벽하지만, 외부 라이브러리에서 동적으로 확장되는 타입에 대해서는 무력할 수 있다. 이때는 `assertNever`와 같은 헬퍼 함수를 사용하여 런타임 에러를 명시적으로 던지도록 설계해야 한다.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- Related: [[Discriminated-Unions]] , Type-Soundness
|
||||
- Related: [[Discriminated-Unions|Discriminated-Unions]] , Type-Soundness
|
||||
- Tool: TypeScript Compiler (tsc)
|
||||
|
||||
Reference in New Issue
Block a user