Skip to content

Register

Defined in: bindings.ts:172

Register your bindings record once to type useBoundActions app-wide:

declare module '@input-actions/core' {
interface Register { bindings: typeof appBindings }
}

Unregistered, ids are string, params unknown and handlers loose — the same as before. getBoundActions from useLocalActions infers from the record it’s given and needs no registration. Experimental. The typed bindings registry (ADR 0026) is new; its shape may change before 1.0.