ReadOnlyArguments<Input>:Input extends ((..._arguments) => infer _Output) ? ReadOnly<Arguments> : never
Read-only alternative to TypeScript's Parameters
Remarks
This type extracts the parameters of a function as a read-only tuple, similar
to Parameters, but with the added benefit of making the parameters
read-only.
Read-only alternative to TypeScript's
Parameters
Remarks
This type extracts the parameters of a function as a read-only tuple, similar to
Parameters
, but with the added benefit of making the parameters read-only.Example
See