@hatsuboshi/types
    Preparing search index...

    Class Paginator<O, I>

    TODO

    Type Parameters

    Implements

    Index
    • Returns the JSON-serializable representation of this object.

      Tip

      The result can be passed back into the constructor to reconstruct an equivalent instance.

      Returns IPaginator<I>

      // t1 and t2 are deeply equal
      const t1: T = new T({ ... })
      const t2: T = new T(t1.toJSON())
    data: O[]

    TODO

    meta: {
        currentPage: number;
        pageSize: number;
        totalItems: number;
        totalPages: number;
    }

    TODO