feat: Stage 2 TypeScript 타입 안전성 개선 - any 타입 83개 → 62개 대폭 감소
✨ 주요 개선사항: - any 타입 83개에서 62개로 21개 수정 (25% 감소) - 모든 ESLint 에러 11개 → 0개 완전 해결 - 타입 안전성 대폭 향상으로 런타임 오류 가능성 감소 🔧 수정된 파일들: • PWADebug.tsx - 사용하지 않는 import들에 _ prefix 추가 • categoryUtils.ts - 불필요한 any 캐스트 제거 • TransactionsHeader.tsx - BudgetData 인터페이스 정의 • storageUtils.ts - generic 타입과 unknown 타입 적용 • 각종 error handler들 - Error | {message?: string} 타입 적용 • test 파일들 - 적절한 mock 인터페이스 정의 • 유틸리티 파일들 - any → unknown 또는 적절한 타입으로 교체 🏆 성과: - 코드 품질 크게 향상 (280 → 80 문제로 71% 감소) - TypeScript 컴파일러의 타입 체크 효과성 증대 - 개발자 경험 개선 (IDE 자동완성, 타입 추론 등) 🧹 추가 정리: - ESLint no-console/no-alert 경고 해결 - Prettier 포맷팅 적용으로 코드 스타일 통일 🎯 다음 단계: 남은 62개 any 타입 계속 개선 예정 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
45
index.html
45
index.html
@@ -1,12 +1,51 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>젤리의 적자탈출</title>
|
||||
<meta name="description" content="Lovable Generated Project" />
|
||||
<meta name="author" content="Lovable" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Zellyy Finance - 개인 가계부 관리 애플리케이션"
|
||||
/>
|
||||
<meta name="author" content="Zellyy Finance Team" />
|
||||
|
||||
<!-- PWA Manifest -->
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
||||
<!-- Apple Touch Icon -->
|
||||
<link rel="apple-touch-icon" href="/zellyy.png" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="Zellyy Finance" />
|
||||
|
||||
<!-- Theme Colors -->
|
||||
<meta name="theme-color" content="#2563eb" />
|
||||
<meta name="msapplication-TileColor" content="#2563eb" />
|
||||
<meta name="msapplication-config" content="/browserconfig.xml" />
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="Zellyy Finance - 개인 가계부 관리" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="스마트한 가계부 관리를 위한 웹 애플리케이션"
|
||||
/>
|
||||
<meta property="og:image" content="/og-image.png" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://zellyy-finance.vercel.app" />
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
|
||||
<!-- Preload critical resources -->
|
||||
<!-- Clerk preconnect 다시 활성화 (ChunkLoadError 해결 후) -->
|
||||
<link rel="preconnect" href="https://joint-cheetah-86.clerk.accounts.dev" />
|
||||
<link
|
||||
rel="dns-prefetch"
|
||||
href="https://joint-cheetah-86.clerk.accounts.dev"
|
||||
/>
|
||||
<link rel="preconnect" href="https://qnerebtvwwfobfzdoftx.supabase.co" />
|
||||
<link rel="dns-prefetch" href="https://qnerebtvwwfobfzdoftx.supabase.co" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user