Skip to content

Functions: withParams() ​

Call Signature ​

ts
function withParams<TValue, TParamOptions>(value, params): UrlPart<WithParamsParamsOutput<TValue, TParamOptions>>;

Type Parameters ​

Type Parameter
TValue extends string
TParamOptions extends MakeOptional<WithParamsParamsInput<TValue>>

Parameters ​

ParameterType
valueTValue
paramsTParamOptions

Returns ​

UrlPart<WithParamsParamsOutput<TValue, TParamOptions>>

Call Signature ​

ts
function withParams(): UrlPart<{
}>;

Returns ​

UrlPart<{ }>