import { type Overwrite } from "https://deno.land/x/deco@1.75.1/deps.ts";
Overwrite
Examples
type Props = { name: string; age: number; visible: boolean };
type NewProps = { age: string; other: string };
type Props = { name: string; age: number; visible: boolean }; type NewProps = { age: string; other: string };
// Expect: { name: string; age: string; visible: boolean; } type ReplacedProps = Overwrite<Props, NewProps>;