import { type Intersection } from "https://deno.land/x/live@1.60.21/deps.ts";
Intersection
Examples
type Props = { name: string; age: number; visible: boolean };
type DefaultProps = { age: number };
type Props = { name: string; age: number; visible: boolean }; type DefaultProps = { age: number };
// Expect: { age: number; } type DuplicateProps = Intersection<Props, DefaultProps>;