Closed metonym closed 9 months ago
Some dispatched events do not have an explicit type annotation, and thus default to CustomEvent<any>.
CustomEvent<any>
This PR enhances the DX by explicitly annotating the type.
<Slider on:change="{(e) => { console.log(e.detail); // number }}" />
Fixed in v0.82.9
Some dispatched events do not have an explicit type annotation, and thus default to
CustomEvent<any>
.This PR enhances the DX by explicitly annotating the type.