import type를 코딩 컨벤션화 #20
2yunseong
started this conversation in
Coding Convention
Replies: 1 comment
-
|
저는 좋다고 생각은 드나, 사실 그렇게 되면 이 함수, 또는 변수의 이름이 타입인지 아닌지에 대해서 헷갈릴 수 있다고 생각합니다. 물론 ide의 도움을 받아서 진행하면 큰 상관은 없으나, 이렇게 되면 type에 대한 posfix 도는 prefix에 대해 적용하면 좋을 것 같습니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import type 에서 생각난 내용입니다.
type을 불러올 때,
import type구문으로 불러오도록 코딩컨벤션을 지정하면 어떨까요?reference
타입-전용 Imports 와 Exports (Type-Only Imports and Exports)
Beta Was this translation helpful? Give feedback.
All reactions