RunCommand
RunCommand
Function type for wrapping command execution with custom logic.
Signature
type RunCommand = <T extends AsyncFunction>(fn: T) => T
Function type for wrapping command execution with custom logic.
type RunCommand = <T extends AsyncFunction>(fn: T) => T