TypeScript mengesampingkan properti antarmuka

type Modify<T, R> = Omit<T, keyof R> & R;

interface OriginalInterface {
  a: string;
  b: boolean;
  c: number;
}

type ModifiedType  = Modify<OriginalInterface , {
  a: number;
  b: number;
}>

// ModifiedType = { a: number; b: number; c: number; }
Determined Dotterel