export type FunctionWithArgs = (() => void) extends Parameters ? U : never;