primefaces / primefaces/primereact

Export Paginator's additional interfaces

Open Beginner friendly
#8,552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Needs Triage
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

We're using PrimeReact Paginator, and would like to have additional typed methods to structure our code. Unfortunately, many of the used interfaces are not exported, for example PaginatorFirstPageLinkOptions, PaginatorPrevPageLinkOptions, PaginatorPageChangeEvent or PaginatorRowsPerPageDropdownOptions.

But we would like to type our methods to ensure type safety.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PrimeReact Paginator component and locate the declarations for PaginatorFirstPageLinkOptions, PaginatorPrevPageLinkOptions, PaginatorPageChangeEvent, and PaginatorRowsPerPageDropdownOptions. Export the requested interfaces so consumers can import them and use them to type their methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.