@tempots/std

FirstArgument type

Extracts the first argument type from a function type.

Signature:

export type FirstArgument = F extends Fun1unknown> ? A : never;

References: Fun1