HookFn: (...args: HookSignatures[T]) => Promise<undefined | number>

An alias which generates a function type from its signatures based on hook name.

Type Parameters

  • T extends hookName

Type declaration