From ddff6b63d7bcc6336dbc1834b7a00d1e26886671 Mon Sep 17 00:00:00 2001 From: Alexey Elin Date: Sun, 7 Feb 2021 23:54:49 +0300 Subject: [PATCH] docs: fix absent documentation for digitsInfo parameter in the API docs (#40746) PR Close #40746 --- packages/common/src/i18n/format_number.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/common/src/i18n/format_number.ts b/packages/common/src/i18n/format_number.ts index 62b53361ca..abea0626f6 100644 --- a/packages/common/src/i18n/format_number.ts +++ b/packages/common/src/i18n/format_number.ts @@ -136,7 +136,7 @@ function formatNumberToLocaleString( * @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. * 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. * * @returns The formatted currency value. @@ -177,7 +177,7 @@ export function formatCurrency( * * @param value The number to format. * @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. * * @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 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. * * @returns The formatted text string.