type-alias / @typed/ui/index

Dom.MergedHostProps

Type-level result of merging user and component-owned host props.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Prop composition
Since
1.0.0
Member of
Dom

Import

import { Dom } from "@typed/ui/index";

Access Dom.MergedHostProps through the imported Dom export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export type MergedHostProps<User, Internal> = Omit<ObjectValue<User>, keyof ObjectValue<Internal> | EventHandlerProperty | "ref"> & Omit<ObjectValue<Internal>, EventHandlerProperty | "ref"> & MergedEvents<User, Internal> & {
    readonly ref?: ComposedRef<PropsRef<Internal>, PropsRef<User>>;
};

Why

Required internal values win, events compose, and refs compose while unrelated user props pass through unchanged.

Ownership and lifetime

The resulting event/ref work is owned by the host’s rendering Scope.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source