T
ArgsOf
The arguments a patch receives for method F: its parameters, or its constructor's for a class.
type ArgsOf<F> = IsUntyped<F> extends true ? F[] : F extends AnyFunction ? Parameters<F> : F extends AnyConstructor ? ConstructorParameters<F> : never