PreInvocationHandler type

Обработчик для крюков до вызова.

type PreInvocationHandler = (
  context: PreInvocationContext
) => void | Promise<void>