Documentation

ComponentPresetArgType

type ComponentPresetArgType

type ComponentPresetArgType<TComponentCtor extends ComponentConstructor> = {
    [P in keyof ComponentPresetType<TComponentCtor>]?: ComponentPresetType<TComponentCtor>[P] | Binding.Type;
} & {
    [P: string]: any;
};

Inferred type of the argument to Component.with for a specific component constructor.