Function: bind()
bind<
C>(commands,handlers):Registration[]
Defined in: core.ts:50
Registrations from shared descriptions and one handler per key. A described command without a handler fails to compile; a handler written inline for an undescribed command does too.
Type Parameters
C
C extends Readonly<Record<string, Command>>
Parameters
commands
C
handlers
Handlers<C>