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 |
31 |
Tags
- 백엔드
- typeorm
- 스터디 회고
- type challenge omit
- 와글와글 해커톤
- network
- 타입 챌린지 IndexOf
- 타입 챌린지 Deep Readonly
- 189-Awaited
- npm
- 타입챌린지 Readonly2
- Conditional Types
- 해커톤
- Mappilogue
- 월간cs
- TypeScript 타입챌린지
- HTTP
- node.js
- nestjs
- 타입스크립트
- 타입 챌린지
- 와글와글
- 타입챌린지
- Array.prototype.push
- 코딩테스트
- 이펙티브 타입스크립트
- Type Challenge
- 노드 교과서 개정2판
- 맵필로그
- TypeScript
Archives
- Today
- Total
목록2024/03/10 (1)
iamkanguk.dev
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/d4hDUD/btsFF8w2L1Z/2dKmM5rMipl8vAvQBY7PX1/img.png)
문제 https://github.com/type-challenges/type-challenges/blob/main/questions/00014-easy-first/README.md type arr1 = ['a', 'b', 'c'] type arr2 = [3, 2, 1] type head1 = First // expected to be 'a' type head2 = First // expected to be 3 Expect, Expect 123>>, Expect, Expect, 풀이 // S1 type First = T extends [] ? never : T[0]; // S2 type First = T["length"] extends 0 ? never : T[0]; // S3 type First = T ..
Type Challenge
2024. 3. 10. 17:36