diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts index bf4e0fbbd4ffc955da85e90c1dedf336362fed25..e9feeb2759ec4a4057e39065acecc658576ecbff 100644 --- a/api/@ohos.i18n.d.ts +++ b/api/@ohos.i18n.d.ts @@ -26,7 +26,6 @@ import intl from './@ohos.intl'; import { StyledString, TextStyle } from './arkui/component/styledString'; /*** endif */ - /** * Provides international settings related APIs. * @@ -3892,10 +3891,10 @@ declare namespace i18n { * * @param { intl.NumberFormat | SimpleNumberFormat } numberFormat - Indicates the number format object that used to format number. * @param { StyledNumberFormatOptions } [ options ] - Indicates the options used to format the number. - * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Global.I18n * @atomicservice * @since arkts {'1.1':'18', '1.2':'20'} + * @deprecated since 20 * @arkts 1.1&1.2 */ constructor(numberFormat: intl.NumberFormat | SimpleNumberFormat, options?: StyledNumberFormatOptions);