questions/00003-medium-omit/README.ko.md
T에서 K 프로퍼티만 제거해 새로운 오브젝트 타입을 만드는 내장 제네릭 Omit<T, K>를 이를 사용하지 않고 구현하세요.
예시:
interface Todo {
title: string
description: string
completed: boolean
}
type TodoPreview = MyOmit<Todo, 'description' | 'title'>
const todo: TodoPreview = {
completed: false,
}
<a href="../../README.ko.md" target="_blank"></a> <a href="https://tsch.js.org/3/answer/ko" target="_blank"></a> <a href="https://tsch.js.org/3/solutions" target="_blank"></a> <hr><h3>관련된 문제들</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00004-easy-pick/README.ko.md" target="_blank"></a> <!--info-footer-end-->