Why this fires¶
TE742 reports an unknown DOM event on a known HTML element. Event names use their DOM attribute spelling, such as onclick, oninput, and onchange.
<button onclik={save()} />
// error[TE742]: unknown event `onclik`Fix it¶
Apply the nearest-event suggestion or select an event from completion. Zero-argument handlers are accepted; use |event| ... when the handler needs the typed event value.