Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 항해99
- Joi
- 프로그래머스
- reduce
- JavaScript
- Node.js
- 조건문
- nginx
- elb
- 노마드코더
- nomadcoder
- npm
- it
- MYSQL
- 자바스크립트
- Load Balancer
- 생활코딩
- java
- AWS
- Nodejs
- wil
- ubuntu
- 메소드
- https
- 타입스크립트
- CORS
- mongoose
- TypeScript
- JWT
- mongodb
Archives
- Today
- Total
목록TS (1)
V-logue
[Typescript] 노마드코더 TypeScript로 블록체인 만들기 (3-4)
Conclusions type SuperPrint = (a:x[], b:y) => x const superPrint : SuperPrint = (a) => a[0] const a = superPrint([1 ,2 , 3, 4], "x"); const b = superPrint([true, false, true, false], 1); const c = superPrint(["a", "b", "c", "d"], false); const d = superPrint([1,"2",true,"hello"], []); 이전까지 generic에 대해서 배워봤다. 하지만, 일상적으로 generic을 사용해 call signature를 사용하게 될 것이라고는 생각하지 않는다. 보통 다른 잘 만들어진 패키지, 라이브러리를 ..
발자취/Typescript
2022. 9. 7. 23:25