티스토리 뷰
Backend/꾸준히 TIL
Type number trivaially inferred from a number literal, remove type annotation 에러 해결
개발하는 후딘 2022. 11. 3. 11:33728x90
반응형
Type (number, boolean, string , ... ) trivaially inferred from a number literal, remove type annotation
해결방안
export const calculatePaymentPrice = (
totalProductPrice = 0,
deliveryPrice = 0,
...
)
참고
728x90
반응형
'Backend > 꾸준히 TIL' 카테고리의 다른 글
[NestJS + Typescript ] URL 깨짐 원인과 typeorm where in (1) | 2022.11.04 |
---|---|
[nestJs + typeorm] 날짜데이터를 insert 하기 (0) | 2022.11.03 |
package-lock.json 잦은 변경을 막고 싶어요. (0) | 2022.10.29 |
[AWS RDS & TypeORM] 에러해결하기 & 코드리뷰 (0) | 2022.10.29 |
Git Rebase (0) | 2022.10.28 |
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- MySQL
- 스마트폰중독
- TypeScript
- MongoDB
- jest
- 갓생살자
- 습관개선
- 나도 할 수 있다
- 바이트디그리
- OS
- git
- Nest.js
- TDD
- 한달독서
- 클린아키텍쳐
- IT용어
- 디지털디톡스
- nestjs
- nestjs jest
- gem
- 참고
- Jekyll
- vscode
- 개발용어
- typeORM
- Mongoose
- node.js
- RDBMS
- 미완
- 한달어스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함