ConfirmDialog: 'defaultFocus' property missing from ConfirmationOptions.d.ts, causing TypeScript errors #2058
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")
Component
ConfirmDialog
provides adefaultFocus
property. In any case (ie when set to`"reject") , the ConfirmDialog works as expectedCurrent behavior
Unfortunately, this attribute is missing from
ConfirmationOptions.d.ts
, causing validation errors in TypeScript: Having:Causes:
Expected behavior
Attribute
defaultFocus
being defined inConfirmationOptions.d.ts
so there is no validation/compilation errorsAgain, the component is working as designed with this attribute, it's just a TypeScript validation/compilation error
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: