We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation of AutoComplete contains this code in the example:
items: any[] | undefined;
However the signature of the suggestions-property is any[]. This causes the following error in a TypeScript IDE:
suggestions
any[]
Type 'any[] | undefined' is not assignable to type 'any[]'. Type 'undefined' is not assignable to type 'any[]'.ngtsc(2322)
Therefore, the example code should be corrected to:
items: any[] = [];
I have a PR fixing this issue: #17097
Angular 19 with PrimeNG 19
No response
19.0.0
19.0.0-rc.1
Angular CLI App
TypeScript
22.6.0
The text was updated successfully, but these errors were encountered:
Sorry for the confusion. Can you resend the PR of the Master branch? Thank you!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The documentation of AutoComplete contains this code in the example:
However the signature of the
suggestions
-property isany[]
. This causes the following error in a TypeScript IDE:Therefore, the example code should be corrected to:
I have a PR fixing this issue: #17097
Environment
Angular 19 with PrimeNG 19
Reproducer
No response
Angular version
19.0.0
PrimeNG version
19.0.0-rc.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.6.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: