docs: fix absent documentation for digitsInfo parameter in the API docs (#40746)

PR Close #40746
This commit is contained in:
Alexey Elin 2021-02-07 23:54:49 +03:00 committed by Alex Rickabaugh
parent 7a8821c9aa
commit ddff6b63d7
1 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ function formatNumberToLocaleString(
* @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
* currency code, such as `USD` for the US dollar and `EUR` for the euro. * currency code, such as `USD` for the US dollar and `EUR` for the euro.
* Used to determine the number of digits in the decimal part. * Used to determine the number of digits in the decimal part.
* @param digitInfo Decimal representation options, specified by a string in the following format: * @param digitsInfo Decimal representation options, specified by a string in the following format:
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
* *
* @returns The formatted currency value. * @returns The formatted currency value.
@ -177,7 +177,7 @@ export function formatCurrency(
* *
* @param value The number to format. * @param value The number to format.
* @param locale A locale code for the locale format rules to use. * @param locale A locale code for the locale format rules to use.
* @param digitInfo Decimal representation options, specified by a string in the following format: * @param digitsInfo Decimal representation options, specified by a string in the following format:
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
* *
* @returns The formatted percentage value. * @returns The formatted percentage value.
@ -206,7 +206,7 @@ export function formatPercent(value: number, locale: string, digitsInfo?: string
* *
* @param value The number to format. * @param value The number to format.
* @param locale A locale code for the locale format rules to use. * @param locale A locale code for the locale format rules to use.
* @param digitInfo Decimal representation options, specified by a string in the following format: * @param digitsInfo Decimal representation options, specified by a string in the following format:
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
* *
* @returns The formatted text string. * @returns The formatted text string.