typescript 핸드북 학습내용 정리 https://typescript-kr.github.io/pages/the-handbook.html 유틸리티 타입 Partial T의 모든 프로퍼티를 선택적으로 만드는 타입을 구성함. interface Todo { title: string; description: string; } function updateTodo(todo: Todo, fieldsToUpdate: Partial) { return { ...todo, ...fieldsToUpdate }; } const todo1 = { title: 'organize desk', description: 'clear clutter', }; const todo2 = updateTodo(todo1, { descriptio..