DynamicDialog: Add generic support to DynamicDialogConfig #11665
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
To prevent the use and access of an
any
property throughDyamicDialogConfig.data
, it would be nice (and pretty easy) to give users the option of custom typing it with the help of generics.Is your feature request related to a problem?
No response
Describe the solution you'd like
No response
Describe alternatives you have considered
I tried adding the type with some TypeScript shenanigan, but this solution is not maintainable and superfluously convoluted:
EDIT: Well... it does actually work so... 🤷
Additional context
No response
The text was updated successfully, but these errors were encountered: