Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.17.2
Current Behavior
Setting the global autofocus
attribute/prop will cause TypeScript to complain about missing definition.
The following codepen shows that custom elements inherit it from HTMLElement
.
Expected Behavior
For autofocus
prop/attr to be included in the base Stencil HTML attr/prop types.
System Info
No response
Steps to Reproduce
Follow provided steps in repro case.
Code Reproduction URL
https://github.com/jcfranco/stencil-autofocus-missing-on-base-html-attr-type
Additional Information
This could apply to other global attributes.