Module

x/live/blocks/propsLoader.ts>PropsUnion

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
type alias PropsUnion
import { type PropsUnion } from "https://dotland.deno.dev/x/live@1.63.12/blocks/propsLoader.ts";

Type Parameters

TLoadProps
TSectionInput
definition: TSectionInput extends Record<string, any> ? Overwrite<TSectionInput, Overwrite<[key in keyof Diff<Required<TSectionInput>, Pick<TLoadProps, RequiredKeys<TLoadProps>>>]: Diff<Required<TSectionInput>, Pick<TLoadProps, RequiredKeys<TLoadProps>>>[key], [key in keyof Intersection<Pick<TLoadProps, RequiredKeys<TLoadProps>>, Required<TSectionInput>>]?: Intersection<Pick<TLoadProps, RequiredKeys<TLoadProps>>, Required<TSectionInput>>[key] & [key in keyof Pick<TSectionInput, OptionalKeys<TSectionInput>>]?: Pick<TSectionInput, OptionalKeys<TSectionInput>>[key]>> : TSectionInput