@amad3v/solid-echarts - v1.0.2
    Preparing search index...

    Type Alias PayloadInput<T>

    PayloadInput: Omit<T, "type">

    Derives the input type for an seActions factory by omitting the type field - which is always injected by the factory itself.

    Type Parameters

    • T extends { type: ActionKind }

      A payload type with a type: string field.

    // Used internally by seActions factories:
    highlight: (payload: PayloadInput<HighlightPayload>) =>
    ({ type: 'highlight', ...payload }) as HighlightPayload