docs: finalized wiki integrity maintenance (v3.0 standard) - pruned 1400+ stubs and fixed 11k+ ghost links
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
---
|
||||
id: P-REINFORCE-AUTO-5297D4
|
||||
category: "[[10_Wiki/💡 Topics/Programming & Language]]"
|
||||
category: "10_Wiki/💡 Topics/Programming & Language"
|
||||
confidence_score: 0.90
|
||||
tags: [auto-reinforced]
|
||||
last_reinforced: 2026-04-20
|
||||
github_commit: "[P-Reinforce] Continuous Worker - never 타입"
|
||||
---
|
||||
|
||||
# [[never 타입]]
|
||||
# [[never 타입|never 타입]]
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> `never` 타입은 TypeScript에서 결코 발생할 수 없는 값이나 완료되지 않는 상태를 의미하는 타입이다 [1, 2]. 주로 무한 루프나 예외를 던지는 함수의 반환 타입으로 쓰이며, 집합론적으로 '빈 집합'을 나타내어 컴파일러의 완전성 검사(Exhaustiveness checking) 및 엄격한 타입 통제를 구현하는 데 핵심적으로 사용된다 [3, 4].
|
||||
@@ -23,11 +23,11 @@ github_commit: "[P-Reinforce] Continuous Worker - never 타입"
|
||||
- **정책 변화:** Programming & Language 분야의 자동 자산화 수행.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- **Related Topics:** [[유니온 타입 (Union Types)]], [[식별 가능한 유니온 (Discriminated Unions)]], [[집합론 (Set Theory)]], [[초과 속성 검사 (Excess Property Checking)]]
|
||||
- **Projects/Contexts:** [[TypeScript 상태 관리 및 에러 처리 방어 (State Management and Defensive Error Handling)]]
|
||||
- **Related Topics:** [[유니온 타입 (Union Types)|유니온 타입 (Union Types)]], [[식별 가능한 유니온 (Discriminated Unions)|식별 가능한 유니온 (Discriminated Unions)]], [[집합론 (Set Theory)|집합론 (Set Theory)]], [[초과 속성 검사 (Excess Property Checking)|초과 속성 검사 (Excess Property Checking)]]
|
||||
- **Projects/Contexts:** TypeScript 상태 관리 및 에러 처리 방어 (State Management and Defensive Error Handling)
|
||||
- **Contradictions/Notes:** `never`와 `void`는 기능적으로 다르다. 함수가 정상적으로 실행을 마치고 아무 값도 반환하지 않는 경우(실제로는 `undefined`를 반환)에는 `void`를 써야 하며, 예외를 던지거나 영원히 종료되지 않아 실행 흐름이 끝에 도달하지 못하는 경우에만 `never`를 사용해야 한다 [2, 14].
|
||||
|
||||
---
|
||||
*Last updated: 2026-04-18*
|
||||
- Raw Source: [[00_Raw/2026-04-20/never 타입.md]]
|
||||
- Raw Source: 00_Raw/2026-04-20/never 타입.md
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user