Function: extractReservedParams()¶
extractReservedParams(
params):ReservedParamsResult
Defined in: resolver/src/imports.ts:425
Extract reserved parameters (only, exclude, includes, excludes) from
Parameters¶
params¶
ParamArgument[] | undefined
Returns¶
Use¶
param arguments. These are consumed by the resolver for filtering and must not be passed to bindParams (which would throw UnknownParamError).
Only extracts when the value is an array. Non-array values are left in remaining for the validator (PS021) to report as type errors.