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

#159 TypeScript 마이그레이션 #430

Merged
merged 71 commits into from
Nov 26, 2024
Merged

#159 TypeScript 마이그레이션 #430

merged 71 commits into from
Nov 26, 2024

Conversation

withSang
Copy link
Member

@withSang withSang commented Nov 7, 2023

Summary

It closes #159
타입스크립트 지원을 추가합니다.

Extra info

To be confirmed

Images or Screenshots

To be confirmed

Further Work

  • To be confirmed

@withSang withSang linked an issue Nov 7, 2023 that may be closed by this pull request
12 tasks
@withSang withSang requested review from cokia and removed request for cokia November 7, 2023 11:36
@withSang withSang changed the title [WiP] TypeScript 지원 [WiP] #159 TypeScript 지원 Nov 16, 2023
@kmc7468 kmc7468 requested review from chlehdwon and removed request for chlehdwon January 25, 2024 13:13
@kmc7468 kmc7468 self-assigned this Jan 25, 2024
export { default as responseTimeMiddleware } from "./responseTime";
export { default as sessionMiddleware } from "./session";
export { default as validatorMiddleware } from "./validator";
export * from "./zod";
Copy link
Member

@kmc7468 kmc7468 Nov 26, 2024

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);
Copy link
Member

Choose a reason for hiding this comment

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

이거 logger는 이렇게 쓰면 안되는걸로 아는데.. 확인 필요합니다

try {
const newNickname = req.body.nickname;
const newNickname = req.body.nickname; // TODO: Typing
Copy link
Member

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");
Copy link
Contributor

Choose a reason for hiding this comment

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

Convention 제안: @를 너무 막 쓰고 있는 듯 싶은데, @의 경우 .. 으로 상위 디렉토리(파일)를 참조하는 경우에는 @ 사용을 권장하고, 하위 디렉토리(파일) 및 현재 디렉토리(파일)를 참조할 경우 ./ 사용을 권장함.

Copy link
Member

Choose a reason for hiding this comment

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

좋은 생각인 것 같습니다! 다음주 마지막 회의에서 논의하고 결정해봐요

Copy link
Member

@kmc7468 kmc7468 left a comment

Choose a reason for hiding this comment

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

LGTM! 다들 정말 고생 많으셨습니다

@kmc7468 kmc7468 merged commit 51ac4f5 into dev Nov 26, 2024
1 check passed
@kmc7468 kmc7468 deleted the #159-add-typescript-support branch November 26, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeScript 지원
5 participants