Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect function return value #520

Open
yuki-yamamura opened this issue Jan 19, 2025 · 1 comment · May be fixed by #521
Open

Incorrect function return value #520

yuki-yamamura opened this issue Jan 19, 2025 · 1 comment · May be fixed by #521

Comments

@yuki-yamamura
Copy link

The return type of hrefBuilder is string, not void.

// index.d.ts
  /**
   * The method is called to generate the href attribute value on tag a of each page element.
   */
  hrefBuilder?(
    pageIndex: number,
    pageCount: number,
    selectedPage: number
  ): void;
@yuki-yamamura yuki-yamamura linked a pull request Jan 19, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@yuki-yamamura and others