Skip to content

[9주차] TypeScript#113

Merged
Turtle-Hwan merged 5 commits into
mainfrom
jung-eon_week9
Jun 2, 2025
Merged

[9주차] TypeScript#113
Turtle-Hwan merged 5 commits into
mainfrom
jung-eon_week9

Conversation

@Jung-eon1018
Copy link
Copy Markdown
Contributor

@Jung-eon1018 Jung-eon1018 commented May 28, 2025

📚 워크북 링크

https://silk-gymnast-613.notion.site/9-TypeScript-1ff41b6ae23380f69147dad5a50037cf?pvs=4

📝 변경/추가 사항 요약

week3 typescript로 변경
week4 typescript로 변경

✅ 리뷰 요구사항

📸 확인 방법 (스크린샷)

image

<제출 전 체크리스트>

  • week00 폴더 내에 자신의 폴더를 새로 만드셨나요?
  • 자신 폴더 외의 다른 사람의 폴더에서 코드를 수정하지 않았나요?

Copy link
Copy Markdown
Member

@Turtle-Hwan Turtle-Hwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

Comment on lines +3 to +16
interface PostItem {
title: string;
image: string;
location: string;
timeAgo: string;
price: string;
comments: number;
likes: number;
isSold: boolean;
}

interface ContentProps {
items: PostItem[];
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PostItem과 ContentProps로 지정해서 받아온 점 좋습니다!

models 폴더 내의 MarketModels.ts에도 이 type을 export해서 지정해줘도 좋을 거 같아요!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PostItem과 ContentProps로 지정해서 받아온 점 좋습니다!

models 폴더 내의 MarketModels.ts에도 이 type을 export해서 지정해줘도 좋을 거 같아요!

말씀해주신 부분 반영했습니다! 좋은 피드백 감사합니다 !!

@Turtle-Hwan Turtle-Hwan merged commit a7fe35c into main Jun 2, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants