Closed zoe-codez closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.94%. Comparing base (
23dde42
) to head (63d322f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes
This PR focuses on resolving issues in the published build. Previously interfaces would get published like this
Instead of properly keeping the utility types:
This was as a result of TS doing some inferring work inside extensions. It resulted in placeholder entities being injected into the build, preventing interfaces from returning stuff as expected.
Fortunately, the fallout seems to be contained to mostly internals, but everything should be publishing as expected going forward
This PR drops deprecated method with build issues
hass.entity.by*
methodsAnd provides a hard coded correct interface so TS doesn't get creative
idBy
interface to prevent build issuesChecklist