Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: revert default element typings to
HTMLElement
The type definitions were updated to allow generic element typing in #1871 However, this "loosened" the default type from `HTMLElement` to `Element. This was actually a breaking change. For example, consumers may have had this test code: ```ts wrapper.element.click() ``` But `click()` only exists on `HTMLElement`, not on `Element`, so test compilation fails. This change moves the default type back to `HTMLElement`. If we want to loosen this requirement in the future, it should be considered a breaking change.
- Loading branch information