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-CAF879
|
||||
category: "[[10_Wiki/💡 Topics/Programming & Language]]"
|
||||
category: "10_Wiki/💡 Topics/Programming & Language"
|
||||
confidence_score: 0.95
|
||||
tags: []
|
||||
last_reinforced: 2026-04-20
|
||||
github_commit: "[P-Reinforce] Mega Batch 2 - Wikified as const Assertion"
|
||||
---
|
||||
|
||||
# [[as const Assertion]]
|
||||
# [[as const Assertion|as const Assertion]]
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> `as const` Assertion은 TypeScript에서 값을 깊은 읽기 전용(deeply readonly) 상태로 만들고 타입을 해당 리터럴 값으로 좁히는(narrow) 기능입니다 [1]. 이를 통해 객체나 배열이 변경되지 않도록 컴파일 타임에 보장하며, 더 정확한 타입 추론을 가능하게 합니다 [1, 2]. 주로 절대 변경되어서는 안 되는 구성(configuration) 객체나 조회 테이블(lookup tables)을 정의할 때 유용하게 사용됩니다 [2].
|
||||
@@ -22,11 +22,11 @@ github_commit: "[P-Reinforce] Mega Batch 2 - Wikified as const Assertion"
|
||||
- **정책 변화:** Programming & Language 카테고리의 전문성 확보 및 링크 밀도 최적화.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- **Related Topics:** [[Readonly]], [[Literal Types]], [[Satisfies Operator]]
|
||||
- **Projects/Contexts:** [[Configuration Objects]], [[Lookup Tables]]
|
||||
- **Related Topics:** [[Readonly 유틸리티 타입|Readonly]], [[리터럴 타입 (Literal Types)|Literal Types]], [[Satisfies Operator|Satisfies Operator]]
|
||||
- **Projects/Contexts:** Configuration Objects, Lookup Tables
|
||||
- **Contradictions/Notes:** 제공된 소스에서 `as const`에 대한 단독 설명은 다소 간략하며 정보가 부족한 편이지만, `satisfies` 연산자와 결합할 때 불변의 타입 안전 객체(immutable, type-safe objects)를 생성하는 핵심적인 역할을 한다는 점이 뚜렷하게 강조됩니다 [1-3].
|
||||
|
||||
---
|
||||
*Last updated: 2026-04-18*
|
||||
- Raw Source: [[00_Raw/2026-04-20/as const Assertion.md]]
|
||||
- Raw Source: 00_Raw/2026-04-20/as const Assertion.md
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user