Siftline
API reference@siftline/actionsType aliases

ActionSet

type ActionSet<Kinds> = ActionEntries<Kinds> & {
  [checked]: true;
};

What defineActions returns: each Action id, kept literal, with its kind and its parsed config. Only defineActions makes one, so dispatch never sends an unchecked config.

Type Declaration

[checked]

readonly [checked]: true;

Exists only in the type: the proof that defineActions parsed every config.

Type Parameters

Type ParameterDefault type
Kinds extends KindByIdKindById

On this page