-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SP1] 앰플리튜드 이벤트 트래킹 - 어바웃, 솝티클 #200
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다! 👍
@@ -0,0 +1,7 @@ | |||
import { RecordTitleType } from '@src/lib/types/about'; | |||
|
|||
export const RECORD_TITLE: RecordTitleType = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
한글로 타입 및 레코드를 만들면 번들링할 때 다시 영어로 바꿔주나요 ..!?? 그것이 궁금합니다!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일단 GPT 선생님이 아니라고 하는데 관련된 정확한 문서를 못찾겠네요... 더 찾아보겠습니다!
@@ -59,3 +59,8 @@ export interface AboutAPI { | |||
getMemberInfo(part?: Part): Promise<GetMembersInfoResponse>; | |||
getStudyInfo(generation?: number): Promise<GetStudyInfoResponse>; | |||
} | |||
|
|||
export type RecordTitle = '활동 멤버' | '프로젝트' | '스터디'; | |||
export type RecordTitleType = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Record<RecordTitle, string>
으로도 작성할 수 있어요!!
Record 타입을 사용하면 key에 있는 값들이 모두 담겨야 타입이 완성되어서 편리합니다!~!!
Summary
Comment