auth/audit_emitter.ts view source
AuditEmitFn import type {AuditEmitFn} from '@fuzdev/fuz_app/auth/audit_emitter.js'; Signature of AuditEmitter.emit — captured by the inner closure so
emit_role_grant_target reaches the decorated function rather than
a this.emit lookup. Exposed as a type so EmitDecorator can name
the inner / outer slot.
(call)
type <T extends string>(ctx: AuditEmitterContext, input: AuditLogInput<T>): void
ctx
input
AuditLogInput<T>void