ComponentPresetRestType

type ComponentPresetRestType

type ComponentPresetRestType<TComponentCtor extends ComponentConstructor> = TComponentCtor extends {
    preset: (presets: ComponentPresetType<TComponentCtor>, ...rest: infer TRest) => void;
} ? TRest : never;

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

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