Error codesEvents

Callback props accept at most one parameter

MARKLESS_CALLBACK_PROP_ARITY_UNSUPPORTEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_CALLBACK_PROP_ARITY_UNSUPPORTED: Callback prop `<propName>` is unsupported because <value>. Lazy callback symbols accept zero parameters or one simple identifier, object pattern, or array pattern without top-level defaults or rest.
The callback transport carries one callback value across the lazy-symbol boundary. Multiple parameters, defaults, and rest bindings do not have supported parameter semantics when the symbol runs.
Pass a single object instead — change `(kind, payload) => ...` to `({ kind, payload }) => ...` and invoke the callback with one object value; remove parameter defaults and rest bindings.
https://markless.dev/errors/MARKLESS_CALLBACK_PROP_ARITY_UNSUPPORTED

Words in angle brackets change from case to case.

Why

The callback transport carries one callback value across the lazy-symbol boundary. Multiple parameters, defaults, and rest bindings do not have supported parameter semantics when the symbol runs.

Fix

Pass a single object instead — change `(kind, payload) => ...` to `({ kind, payload }) => ...` and invoke the callback with one object value; remove parameter defaults and rest bindings.

Where Markless raises it

All error codes