Argument<T>: NonNullable<Parameters<T>[0]>

The first argument of a function.

Type Parameters

  • T extends ((arg) => unknown)