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
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.
0 commit comments