Repository navigation
refactor: [TA-265] 도메인 리스트 렌더의 any 타입 제거(기존 타입 적용) - #137
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
seorinn
marked this pull request as ready for review
June 29, 2026 08:24
seorinn
added a commit
that referenced
this pull request
Sep 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사항
도메인 리스트를 렌더하는
.map콜백/리스트 상태/Props의any를 기존src/types로 교체 (A유형만, 런타임 동작 변화 없음).SearchPage/Photographers:data/useState/map→PhotographerListItemSearchPage/Promotions:data/useState→PromotionListItemSearchPage/Overview:promotionList/photographerListProps → 각 타입,map추론PromotionBox:activeRegions(region: any→Region), postDataimages: any[]→ImageFile[],author: any→{ nickname; isAdmin } | nullMainHome/BannerBox: 로컬 배너 배열 인라인 타입 지정배경
TA-248에서
item: any때문에 null 가드가 누락됐던 것과 같은 계열의 잠재 버그를 예방. 정확한 타입이 이미src/types에 존재하여 위험 없이 적용 가능.스코프
useState<any>), 이벤트/에러 핸들러(e: any), 외부 SDK(카카오맵 Location), 혼합 콘텐츠(SavedContents)는 위험·저가치로 제외.테스트
Closes TA-265