Paginator: PaginatorTemplateOptions
interface elements should be optional (TypeScript)
#3503
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
TypeScript complains that all
PaginatorTemplateOptions
elements are required when they can be optional. The paginator template supports a user to define some of the custom elements by falling back to a default when they are not provided. ThePaginatorTemplateOptions
interface should reflect this by making the elements optionalprimereact/components/lib/paginator/paginator.d.ts
Line 127 in b0fbb72
Reproducer
No response
PrimeReact version
8.6.1
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
The text was updated successfully, but these errors were encountered: