-
Notifications
You must be signed in to change notification settings - Fork 1
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
#159 TypeScript 마이그레이션 #430
Conversation
export { default as responseTimeMiddleware } from "./responseTime"; | ||
export { default as sessionMiddleware } from "./session"; | ||
export { default as validatorMiddleware } from "./validator"; | ||
export * from "./zod"; |
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.
나중에 수정하면 좋을듯요~ (마지막 줄)
|
||
axios | ||
.post(slackUrl.report, data, config) | ||
.then((res) => { | ||
.then(() => { | ||
logger.info("Slack webhook sent successfully"); | ||
}) | ||
.catch((err) => { | ||
logger.error("Fail to send slack webhook", err); |
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.
이거 logger는 이렇게 쓰면 안되는걸로 아는데.. 확인 필요합니다
…cs-kaist/taxi-back into #159-add-typescript-support
try { | ||
const newNickname = req.body.nickname; | ||
const newNickname = req.body.nickname; // TODO: Typing |
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.
차후 PR에서 Type 붙여야 합니다.
@@ -1,103 +1,123 @@ | |||
const { userModel, banModel } = require("../modules/stores/mongo"); |
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.
Convention 제안: @를 너무 막 쓰고 있는 듯 싶은데, @의 경우 .. 으로 상위 디렉토리(파일)를 참조하는 경우에는 @ 사용을 권장하고, 하위 디렉토리(파일) 및 현재 디렉토리(파일)를 참조할 경우 ./ 사용을 권장함.
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.
LGTM! 다들 정말 고생 많으셨습니다
Summary
It closes #159
타입스크립트 지원을 추가합니다.
Extra info
To be confirmed
Images or Screenshots
To be confirmed
Further Work