You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
The PickerOptions interface is missing the showBackdrop property. When adding that property to an object that implements the PickerOptions interface, the following TS error occurs: "Object literal may only specify known properties, and 'showBackdrop' does not exist in type 'PickerOptions'."
Expected behavior:
Adding the showBackdrop property to the object that implements the PickerOptions interface should not cause a TS error, since it is a valid option.
Steps to reproduce:
Create an object that implements the PickerOptions interface.
Add the "columns" property, with an empty array value. (To satisfy the required property of the interface).
Add the showBackdrop property to the object, with a boolean value.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
5.2.3
Current behavior:
The PickerOptions interface is missing the showBackdrop property. When adding that property to an object that implements the PickerOptions interface, the following TS error occurs: "Object literal may only specify known properties, and 'showBackdrop' does not exist in type 'PickerOptions'."
Expected behavior:
Adding the showBackdrop property to the object that implements the PickerOptions interface should not cause a TS error, since it is a valid option.
Steps to reproduce:
Related code:
StackBlitz
Other information:
My current workaround is implementing the following interface:
Ionic info:
The text was updated successfully, but these errors were encountered: