import { type Overwrite } from "https://deno.land/x/live@1.57.22/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>;