Skip to main content
Module

x/live/blocks/propsLoader.ts>PropsUnion

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
type alias PropsUnion
import { type PropsUnion } from "https://deno.land/x/live@1.57.22/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