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 |
Tags
- JDBC
- isSquare
- java api
- react
- TABLESPACE
- codewars
- descendingOrder
- custom hook
- type
- manifest.json
- IBM
- Debug
- DB2
- react hook
- useEffect
- TypeScript
- codewar
Archives
- Today
- Total
목록TypeScript (1)
taesik
Utility Type
TypeScript provides several utility types to facilitate common type conversions. These utilities are available globally. Partial It constructs a type that makes all properties of T optional. This utility returns a type representing the set of all subtypes of a given type. interface Todo { title: string; description: string; } function updateTodo(todo: Todo, fieldsToUpdate: Partial) { return { ....
Concepts/TypeScript
2021. 12. 28. 12:07