diff --git a/api/@ohos.intl.d.ts b/api/@ohos.intl.d.ts index 5bf8f664ee8afb4982d3f80f293a2fd960d43ed3..cf384e60714bb09a5b1c4c8cf74b696bd4338119 100755 --- a/api/@ohos.intl.d.ts +++ b/api/@ohos.intl.d.ts @@ -77,15 +77,24 @@ export interface LocaleOptions { * @since 6 */ export class Locale { + /** + * A constructor used to create a Locale object. + * + * @syscap SystemCapability.Global.I18n + * @since 6 + */ + constructor(); + /** * A constructor used to create a Locale object. * * @syscap SystemCapability.Global.I18n * @param locale Indicates a character string containing the locale information, including * the language and optionally the script and region. + * @param options Indicates Locale option object use to initialize the Locale object. * @since 6 */ - constructor(locale?: string, options?: LocaleOptions); + constructor(locale: string, options?: LocaleOptions); /** * Indicates the language of the locale.