@nospamproxy/core
    Preparing search index...

    Interface SortOption<T>

    Contract of sorting configuration

    interface SortOption<T> {
        direction: SortDirection;
        property: keyof T;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    direction: SortDirection

    Direction of sorting.

    property: keyof T

    Name of the property on which to sort.