# TypeScript 타입에러 전체 수정 체크리스트

- **날짜**: 2026-01-29
- **총 에러**: 408개 / 155파일
- **목표**: 전체 `tsc --noEmit` 에러 0
- **결과**: ✅ **0 errors** (408 → 0 완료)

---

## Phase 1: 공통 템플릿 (연쇄 에러 감소 기대)

- [x] `components/templates/UniversalListPage` (6 errors) ✅
- [x] `components/templates/IntegratedDetailTemplate` (5 errors) ✅
- [x] `components/templates` (기타 2 errors) ✅
> Phase 1 완료: 408 → 364 (44개 감소, 연쇄 해소 포함)

## Phase 2: 페이지 (app/[locale]) — 80 errors

- [x] `app/[locale]` 페이지 타입 에러 수정 (80 errors) ✅

## Phase 3: 재고/자재 — 36 errors

- [x] `components/material/StockStatus` (31 errors) ✅
- [x] `components/material/ReceivingManagement` (5 errors) ✅

## Phase 4: 생산 — 30 errors

- [x] `components/production/WorkOrders` (18 errors) ✅
- [x] `components/production/WorkerScreen` (6 errors) ✅
- [x] `components/production/WorkResults` (6 errors) ✅

## Phase 5: 주문/출고 — 36 errors

- [x] `components/outbound/ShipmentManagement` (18 errors) ✅
- [x] `components/orders` (18 errors) ✅
- [x] `components/orders/documents` (4 errors) ✅

## Phase 6: 견적/단가 — 18 errors

- [x] `components/quotes` (16 errors) ✅
- [x] `components/pricing` (2 errors) ✅

## Phase 7: 건설 — 50 errors

- [x] `components/business/construction/item-management` (8 errors) ✅
- [x] `components/business/construction/order-management` (7 errors) ✅
- [x] `components/business/construction/structure-review` (5 errors) ✅
- [x] `components/business/construction/site-management` (5 errors) ✅
- [x] `components/business/construction/estimates` (4 errors) ✅
- [x] `components/business/construction/estimates/sections` (3 errors) ✅
- [x] `components/business/construction/pricing-management` (3 errors) ✅
- [x] `components/business/construction/handover-report` (3 errors) ✅
- [x] `components/business/construction/worker-status` (2 errors) ✅
- [x] `components/business/construction/management` (2 errors) ✅
- [x] `components/business/construction/contract` (2 errors) ✅
- [x] `components/business/construction/utility-management` (1 error) ✅
- [x] `components/business/construction/site-briefings` (1 error) ✅
- [x] `components/business/construction/progress-billing` (1 error) ✅
- [x] `components/business/construction/order-management/dialogs` (1 error) ✅
- [x] `components/business/construction/category-management` (1 error) ✅
- [x] `components/business/construction/bidding` (1 error) ✅

## Phase 8: HR — 24 errors

- [x] `components/hr/CardManagement/_legacy` (13 errors) ✅
- [x] `components/hr/CardManagement` (3 errors) ✅
- [x] `components/hr/VacationManagement` (2 errors) ✅
- [x] `components/hr/EmployeeManagement` (2 errors) ✅
- [x] `components/hr/SalaryManagement` (1 error) ✅
- [x] `components/attendance` (2 errors) ✅

## Phase 9: 설정 — 26 errors

- [x] `components/settings/PermissionManagement` (10 errors) ✅
- [x] `components/settings/AccountManagement/_legacy` (6 errors) ✅
- [x] `components/settings/PopupManagement` (4 errors) ✅
- [x] `components/settings/SubscriptionManagement` (3 errors) ✅
- [x] `components/settings/AccountManagement` (2 errors) ✅
- [x] `components/settings/NotificationSettings` (2 errors) ✅
- [x] `components/settings/CompanyInfoManagement` (2 errors) ✅
- [x] `components/settings/TitleManagement` (1 error) ✅
- [x] `components/settings/RankManagement` (1 error) ✅

## Phase 10: 게시판 — 15 errors

- [x] `components/board/BoardManagement` (9 errors) ✅
- [x] `components/board/BoardList` (3 errors) ✅
- [x] `components/board/CommentSection` (1 error) ✅
- [x] `components/board/BoardForm` (1 error) ✅
- [x] `components/board/BoardDetail` (1 error) ✅

## Phase 11: 회계 — 17 errors

- [x] `components/accounting/VendorManagement` (4 errors) ✅
- [x] `components/accounting/BadDebtCollection` (4 errors) ✅
- [x] `components/accounting/CardTransactionInquiry` (3 errors) ✅
- [x] `components/accounting/WithdrawalManagement` (2 errors) ✅
- [x] `components/accounting/DepositManagement` (2 errors) ✅
- [x] `components/accounting/BillManagement` (2 errors) ✅
- [x] `components/accounting/VendorLedger` (1 error) ✅
- [x] `components/accounting/SalesManagement` (1 error) ✅
- [x] `components/accounting/PurchaseManagement` (1 error) ✅
- [x] `components/accounting/ExpectedExpenseManagement` (1 error) ✅

## Phase 12: 기타 모듈 — ~30 errors

- [x] `components/business/CEODashboard` (3 errors) ✅
- [x] `components/business` (기타 2 errors) ✅
- [x] `components/clients` (4 errors) ✅
- [x] `components/customer-center/InquiryManagement` (5 errors) ✅
- [x] `components/customer-center/NoticeManagement` (1 error) ✅
- [x] `components/customer-center/EventManagement` (1 error) ✅
- [x] `components/vehicle-management` (8 errors) ✅
- [x] `components/items` (5 errors) ✅
- [x] `components/approval` (3 errors) ✅
- [x] `components/dev/generators` (5 errors) ✅
- [x] `components/quality/InspectionManagement` (1 error) ✅
- [x] `components/process-management` (1 error) ✅
- [x] `components/ui` (1 error) ✅

## Phase 13: 유틸/훅/API — 8 errors

- [x] `hooks` (3 errors) ✅
- [x] `contexts` (2 errors) ✅
- [x] `lib/api/dashboard` (2 errors) ✅
- [x] `lib/api` (1 error) ✅
- [x] `lib/utils` (1 error) ✅
- [x] `app/api/pdf/generate` (1 error) ✅

---

## 진행 현황

| Phase | 대상 | 에러 수 | 상태 |
|-------|------|---------|------|
| 1 | 공통 템플릿 | 13 | ✅ 완료 |
| 2 | 페이지 | 80 | ✅ 완료 |
| 3 | 재고/자재 | 36 | ✅ 완료 |
| 4 | 생산 | 30 | ✅ 완료 |
| 5 | 주문/출고 | 36 | ✅ 완료 |
| 6 | 견적/단가 | 18 | ✅ 완료 |
| 7 | 건설 | 50 | ✅ 완료 |
| 8 | HR | 24 | ✅ 완료 |
| 9 | 설정 | 26 | ✅ 완료 |
| 10 | 게시판 | 15 | ✅ 완료 |
| 11 | 회계 | 17 | ✅ 완료 |
| 12 | 기타 모듈 | ~30 | ✅ 완료 |
| 13 | 유틸/훅/API | 8 | ✅ 완료 |

**최종 결과: 408 errors → 0 errors (155 files across 13 phases)**
