[조형민] sprint11#11
Open
paengdal wants to merge 4 commits intocodeit-sprint-fullstack:express-조형민from
Hidden character warning
The head ref may contain hidden characters: "express-\uc870\ud615\ubbfc-sprint11"
Open
Conversation
- formData, 이미지 등록, checkValidation 등
jjjwodls
approved these changes
Mar 25, 2025
Collaborator
There was a problem hiding this comment.
type 이 적용되면 route 안의 객체들도 type 들이 적용이 되어야 됩니다!
ex) req: Request, res: Response ...
다른 곳들도 공통입니다!
Collaborator
Author
There was a problem hiding this comment.
type 이 적용되면 route 안의 객체들도 type 들이 적용이 되어야 됩니다! ex) req: Request, res: Response ...
다른 곳들도 공통입니다!
저 형식을 적용했더니 괜히 에러가 발생해서 그냥 뺐었는데...일단 이 부분이 배우는 자의 자세가 아님을 반성합니다. ^^;;;
지금 다시 보니 Request, Response, NextFunction이 자동 import 되지 않았는데 그걸 모르고 에러라고 생각했습니다.
import 하니 잘 작동하네요.. 덕분에 해결했습니다. 감사합니다!!
Collaborator
|
dist 파일은 git 에 안올려주셔도 됩니다! dist 는 추후에 배포 후 실행될 번들링 결과물들이 존재하는 곳입니다 전반적으로 타입이 크게 적용될만한 부분들은 없고 알려드린 부분만 확인 부탁드립니다! 추가로 궁금한 부분 있으시면 질문주세요! |
Collaborator
Author
넵. 감사합니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요구사항
기본 요구사항
공통
프론트엔드
백엔드
멘토에게