Closed metonym closed 2 years ago
Currently, a dispatched event without a second argument will produce the type CustomEvent<any>.
CustomEvent<any>
dispatch("event");
It can be more specific; the actual type is null.
null
- event: CustomEvent<any>; + event: CustomEvent<null>;
Currently, a dispatched event without a second argument will produce the type
CustomEvent<any>
.It can be more specific; the actual type is
null
.