• Parameters

    • totalItems: number
    • currentPage: number = 1
    • pageSize: number = 10
    • maxPages: number = 10

    Returns IPaginate