Function: applyDescriptionLocalizedBuilder()
applyDescriptionLocalizedBuilder<
T
,TOpt
,Ns
,KPrefix
>(builder
:T
,key
:string
):T
Applies the localized descriptions on the builder, calling setDescription
and setDescriptionLocalizations
.
Type Parameters
Type Parameter | Default type |
---|---|
T extends BuilderWithDescription | - |
TOpt extends TOptions | TOptions |
Ns extends Namespace | "translation" |
KPrefix | undefined |
Parameters
Parameter | Type | Description |
---|---|---|
builder | T | The builder to apply the localizations to. |
key | string | The key to get the localizations from. |
Returns
T
The updated builder.