OmitFirtArg
Type Alias: OmitFirtArg<F>
OmitFirtArg<
F> =Fextends (x, ...args) => infer R ?Parameters<(...args) =>R> :never
Defined in: packages/utils/src/types.ts:79
Remove the first argument of a function type and return the remaining parameter tuple. Used internally by ClassAnnotation.
Note: this type name contains a typo ("Firt" instead of "First"); prefer OmitFirstArg for new code.
Type Parameters
F
F