From 356c3a6586a0fe1034df6adb2bb7b492db88d7d3 Mon Sep 17 00:00:00 2001 From: weishaoxiong Date: Thu, 19 Jun 2025 15:57:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=90=8C=E6=AD=A5=200328=20sdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: weishaoxiong --- api/@ohos.InputMethodSubtype.d.ts | 8 +++---- api/@ohos.inputMethod.d.ts | 36 +++++++++++++++---------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/api/@ohos.InputMethodSubtype.d.ts b/api/@ohos.InputMethodSubtype.d.ts index 0291b403d2..1cb08c348e 100644 --- a/api/@ohos.InputMethodSubtype.d.ts +++ b/api/@ohos.InputMethodSubtype.d.ts @@ -41,13 +41,13 @@ export default interface InputMethodSubtype { /** * The label id of input method subtype. * - * @type { ?number } + * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId?: number; + readonly labelId?: double; /** * The name of input method. @@ -118,13 +118,13 @@ export default interface InputMethodSubtype { /** * The icon id of input method subtype. * - * @type { ?number } + * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId?: number; + readonly iconId?: double; /** * The extra info of input method subtype. diff --git a/api/@ohos.inputMethod.d.ts b/api/@ohos.inputMethod.d.ts index 9edc69070b..5577361e82 100644 --- a/api/@ohos.inputMethod.d.ts +++ b/api/@ohos.inputMethod.d.ts @@ -17,7 +17,7 @@ * @file * @kit IMEKit */ -import type { Callback, AsyncCallback, /*** if arkts 1.1 */int /*** endif */} from './@ohos.base'; +import type { Callback, AsyncCallback } from './@ohos.base'; import InputMethodSubtype from './@ohos.InputMethodSubtype'; /*** if arkts 1.1 */ import type { ElementName } from './bundleManager/ElementName'; @@ -1478,13 +1478,13 @@ declare namespace inputMethod { /** * The label id of input method * - * @type { ?number } + * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} + * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId?: number; + readonly labelId?: double; /** * The icon of input method @@ -1500,13 +1500,13 @@ declare namespace inputMethod { /** * The icon id of input method * - * @type { ?number } + * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId?: number; + readonly iconId?: double; /** * The extra info of input method @@ -1911,42 +1911,42 @@ declare namespace inputMethod { /** * Indicates the left point of the cursor info and must be absolute coordinate of the physical screen. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - left: number; + left: double; /** * Indicates the top point of the cursor info and must be absolute coordinate of the physical screen. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - top: number; + top: double; /** * Indicates the width point of the cursor info. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - width: number; + width: double; /** * Indicates the height point of the cursor info. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - height: number; + height: double; } /** @@ -2087,22 +2087,22 @@ declare namespace inputMethod { /** * Indicates the width of the input window. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - width: number; + width: double; /** * Indicates the height of the input window. * - * @type { number } + * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - height: number; + height: double; } /** -- Gitee