Skip to content

Commit e95246d

Browse files
author
devgioele
committed
change default index type to zero-based
1 parent 6e2b589 commit e95246d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type CalculatePaginationConfig = {
5454
}
5555

5656
const defaultCalculatePaginationConfig: CalculatePaginationConfig = {
57-
indexType: IndexType.ONE_BASED,
57+
indexType: IndexType.ZERO_BASED,
5858
maxPages: 5,
5959
}
6060

0 commit comments

Comments
 (0)