ComponentPresetType

type ComponentPresetType

type ComponentPresetType<TComponentCtor extends ComponentConstructor> = TComponentCtor extends {
    preset: (presets: infer TPreset) => void;
} ? TPreset : any;

Inferred partial type of the argument to Component.with without bindings, for a specific component constructor.

Note: This type is used by Typescene internally and should not be used by your application code.