From 1f4ac973f4ff8ee83ce326787b335a3ef8acb1d3 Mon Sep 17 00:00:00 2001 From: sodanotgreen Date: Sat, 27 Jul 2024 09:46:49 +0800 Subject: [PATCH] aaa Signed-off-by: sodanotgreen --- api/@ohos.uiAppearance.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.uiAppearance.d.ts b/api/@ohos.uiAppearance.d.ts index 592ff604e..565c63ff0 100644 --- a/api/@ohos.uiAppearance.d.ts +++ b/api/@ohos.uiAppearance.d.ts @@ -148,10 +148,10 @@ declare namespace uiAppearance { function getFontScale(): number; /** - * Set the system font-wght-scale. + * Set the system font-weight-scale. * * @permission ohos.permission.UPDATE_CONFIGURATION - * @param { number } fontWeightScale - indicates the font-wght-scale to set + * @param { number } fontWeightScale - indicates the font-weight-scale to set * @returns { Promise } the promise returned by the function * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. @@ -167,10 +167,10 @@ declare namespace uiAppearance { function setFontWeightScale(fontWeightScale: number): Promise; /** - * Acquire the current font-wght-scale. + * Acquire the current font-weight-scale. * * @permission ohos.permission.UPDATE_CONFIGURATION - * @returns { number } current font-wght-scale. + * @returns { number } current font-weight-scale. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @throws { BusinessError } 401 - Parameter error. Possible causes: