Error codesState

Element() handle may not be on the page

MARKLESS_ELEMENT_HANDLE_MAYBE_ABSENTerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_ELEMENT_HANDLE_MAYBE_ABSENT: "<name>" is declared <declared>, which says the element is always on the page, but <problem>. Declare it <optional> and write <name>?. where you use it.
An element() handle typed without | undefined lets handlers call it without ?., which is only safe when the element renders whenever its component does.
never-bound
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_MAYBE_ABSENT

Words in angle brackets change from case to case.

Why

An element() handle typed without | undefined lets handlers call it without ?., which is only safe when the element renders whenever its component does.

Fix

never-bound

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.