primereact icon indicating copy to clipboard operation
primereact copied to clipboard

Typescript: update LocaleOptions interface

Open kyybo opened this issue 1 year ago • 0 comments

Describe the bug

The 'LocaleOptions' interface import from primereact/api (https://github.com/primefaces/primereact/blob/master/components/lib/api/api.d.ts) is missing a lot of options if we compare with the format of locale options here : https://github.com/primefaces/primelocale/blob/main/README.md (e.g : some calendar locale such as "chooseYear", "chooseMonth", etc and some aria like aria.star, aria.scrollTop, etc).

Would it be possible to update the LocalOptions interface, please?

Reproducer

No response

PrimeReact version

10.5.1

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

kyybo avatar Feb 27 '24 16:02 kyybo