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
Change the type of renderRoot to include Element (#4254)
* Use a Mutable<T, K> type to more accurate casts
* Change the type of renderRoot to include Element
* Change createRenderRoot too
* Update check-size script
* Update check-size.js
---------
Co-authored-by: Andrew Jakubowicz <ajakubowicz@google.com>
Co-authored-by: Peter Burns <rictic@google.com>
Change the type of `ReactiveElement.renderRoot` and return type of `ReactiveElement.createRenderRoot()` to be `HTMLElement | DocumentFragment` to match each other and lit-html's `render()` method.
0 commit comments