docs: finalized wiki integrity maintenance (v3.0 standard) - pruned 1400+ stubs and fixed 11k+ ghost links

This commit is contained in:
Antigravity Agent
2026-05-02 09:18:34 +09:00
parent c84dcb8371
commit 6445fcc05b
13150 changed files with 55394 additions and 100862 deletions
@@ -1,12 +1,12 @@
---
id: [[P-Reinforce]]-AUTO-[[Nodejs]]G-001
id: [[P-Reinforce|P-Reinforce]]-AUTO-[[Nodejs|Nodejs]]G-001
category: "10_Wiki/💡 Topics/AI"
confidence_score: 0.94
tags: [auto-reinforced, nodejs, typescript, software-engineering]
last_reinforced: 2026-04-20
---
# [[Nodejs-Global-Namespace-Augmentation]]
# [[Nodejs-Global-Namespace-Augmentation|Nodejs-Global-Namespace-Augmentation]]
## 📌 한 줄 통찰 (The Karpathy Summary)
> "전역 공간의 안전한 확장: TypeScript 환경에서 Node.js의 `Global` 인터페이스를 확장하여, 타입 안정성을 유지하면서도 커스텀 전역 변수를 사용하는 기술적 '타협점'."
@@ -33,9 +33,9 @@ Node.js 전역 네임스페이스 확장(Global Namespace Augmentation)은 주
## ⚠️ 모순 및 업데이트 (Contradictions & RL Update)
- **과거 데이터와의 충돌**: 과거에는 `global.d.ts` 파일을 만드는 것만으로 충분했으나, 최신 TypeScript 버전과 ES Modules 시스템 하에서는 `export {}` 등을 추가하여 파일이 모듈로 인식되게 해야 전역 확장이 정확히 작동하는 경우가 많음.
- **정책 변화(RL Update)**: 클린 코드 프린시플([[Separation of Concerns]])에 따라 전역 변수 사용은 점진적으로 지양되는 추세이나, 엔터프라이즈 급 대규모 모노레포에서는 공통 유틸리티의 타입 접근성을 위해 엄격한 거버넌스 하에 선택적으로 허용하는 정책을 취함.
- **정책 변화(RL Update)**: 클린 코드 프린시플([[_뇌와 팔다리의 분리_ - 관심사의 분리 (Separation of Concerns)|Separation of Concerns]])에 따라 전역 변수 사용은 점진적으로 지양되는 추세이나, 엔터프라이즈 급 대규모 모노레포에서는 공통 유틸리티의 타입 접근성을 위해 엄격한 거버넌스 하에 선택적으로 허용하는 정책을 취함.
## 🔗 지식 연결 (Graph)
- **Related**: [[TypeScript_Type_Safety]], [[Monorepo]]-[[Management]], [[Separation_of_Concerns]], Modular Monolith
- **Related**: [[TypeScript_Type_Safety|TypeScript_Type_Safety]], [[Monorepo|Monorepo]]-[[Management|Management]], [[Separation_of_Concerns|Separation_of_Concerns]], Modular Monolith
- **Modern Tech/Tools**: TypeScript Declaration Merging, tsconfig paths.
---