Trilium Frontend API
    Preparing search index...

    Type Alias Reducer<S, A>

    Reducer: (prevState: S, action: A) => S

    Type Parameters

    • S
    • A

    Type Declaration

      • (prevState: S, action: A): S
      • Parameters

        • prevState: S
        • action: A

        Returns S