p-cascadeSelect optionGroupChildren wrong type definition #9952
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
When using p-cascadeSelect [optionGroupChildren]="['states', 'cities']" (like in the doc), the typescript compiler says "Type 'string[]' is not assignable to type 'string'".
Setting the type manually to string[] in the .d.ts file of primeng fix it.
Expected behavior
Should no cause error.
Minimal reproduction of the problem with instructions
Please tell us about your environment:
Angular version: 11.2.3
PrimeNG version: 11.2.3
The text was updated successfully, but these errors were encountered: