Skip to content
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

TypeScript 스타일 가이드 #1

Open
positiveko opened this issue Jul 25, 2021 · 0 comments
Open

TypeScript 스타일 가이드 #1

positiveko opened this issue Jul 25, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@positiveko
Copy link
Member

타입 정의

  • 타입을 사용합니다.
  • 타입 변수명은 대문자 T를 붙이지 않고, PascalCase로 작성합니다.
  • 컴포넌트의 props 타입은 컴포넌트 바로 상단에서 관리합니다.
    다만 그 외의 타입은 models 디렉토리 안에서 page by page로 파일을 구분하여 정리합니다.
  • 필요 시에 TSDoc을 작성합니다.
    image
@positiveko positiveko added the documentation Improvements or additions to documentation label Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant