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
[ ERROR ] TypeScript: src/components/my-component/my-component.tsx:31:10
Property 'onClose' does not exist on type
'DialogHTMLAttributes'.
L31: onClose={this.onClose}
L32: onCancel={this.onClose}
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
https://github.com/bassettsj/stencil-dialog-element-bug
Expected behavior:
Expected to recognize the onClose and onCancel event handlers for the HTMLDialogElement
Steps to reproduce:
https://github.com/bassettsj/stencil-dialog-element-bug
@ts-ignore
comment and runnpm run build
Other information:
Fix would only be adding this to the type definitions so it will work as expected.
The text was updated successfully, but these errors were encountered: