연관된 이슈
#954
📋 Description
AuthorBarChart 컴포넌트에서 D3 콜백 함수들이 any 타입을 사용하고 있어 타입 안정성이 떨어집니다.
🔍 Current Issues
다음 위치에서 any 타입이 사용되고 있습니다:
- Line 172:
.data(data, (d: any) => ...)
- Line 182, 209, 213-215: bar 렌더링 콜백의
(d: any)
- Line 239, 243, 247: image 렌더링 콜백의
(d: any)
✅ Expected Behavior
- 바 차트 데이터:
AuthorDataType 사용
- 이미지 데이터:
{ name: string; src: string } 타입 정의 후 사용
📝 Implementation
연관된 이슈
#954
📋 Description
AuthorBarChart 컴포넌트에서 D3 콜백 함수들이
any타입을 사용하고 있어 타입 안정성이 떨어집니다.🔍 Current Issues
다음 위치에서
any타입이 사용되고 있습니다:.data(data, (d: any) => ...)(d: any)(d: any)✅ Expected Behavior
AuthorDataType사용{ name: string; src: string }타입 정의 후 사용📝 Implementation
AuthorImageData)