Skip to content

Commit

Permalink
added Lume.PaginateResult
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Dec 16, 2023
1 parent 8f34894 commit 547bc74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
- Fix error of two pages with the same id, type and lang.
- Fix the error of a page with lang, but undefined id.
- Removed unused `imagick` dependency.
- Added `Lume.PaginateResult` type.

## [2.0.1] - 2023-12-10
### Added
Expand Down
2 changes: 2 additions & 0 deletions plugins/paginate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ export function createPaginator(defaults: PaginateOptions): Paginator {
/** Extends Data interface */
declare global {
namespace Lume {
export type { PaginateResult };

export interface Data {
/**
* The paginator helper
Expand Down

0 comments on commit 547bc74

Please sign in to comment.