diff --git a/api/@ohos.InputMethodSubtype.d.ts b/api/@ohos.InputMethodSubtype.d.ts index 0291b403d29315d0dcb832eff3166b9d229dd877..1cb08c348e1ec6b7b5718af3078f771ad76c11c0 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 9edc69070b6b7e31036b2b699a613ce524d38d77..5577361e820078a1d1220f05436d85355217c662 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; } /**