diff --git a/.vscode/project_codecheck_config.json b/.vscode/project_codecheck_config.json new file mode 100644 index 0000000000000000000000000000000000000000..2e5ca54151af7142afa5213090b8d46f5a25f23b --- /dev/null +++ b/.vscode/project_codecheck_config.json @@ -0,0 +1 @@ +{"buildScriptPath":"","synRulesRepo":"https://gitee.com/openharmony/interface_sdk-js.git","synRulesBranch":""} \ No newline at end of file diff --git a/api/@ohos.multimodalInput.inputConsumer.d.ts b/api/@ohos.multimodalInput.inputConsumer.d.ts index ec5c99af69274398d77ab7a4ae3a316de6cb9490..7dae5bd77d225dd9d29cb4232e2159bc3c9c96a1 100644 --- a/api/@ohos.multimodalInput.inputConsumer.d.ts +++ b/api/@ohos.multimodalInput.inputConsumer.d.ts @@ -92,7 +92,7 @@ declare namespace inputConsumer { /** * Defines the shortcut key structure. * - * @typedef HotkeyOptions + * @interface HotkeyOptions * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @since 14 */ @@ -128,7 +128,7 @@ declare namespace inputConsumer { /** * Key consunption settings. * - * @typedef KeyPressedConfig + * @interface KeyPressedConfig * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @since 16 */ diff --git a/api/@ohos.multimodalInput.inputEvent.d.ts b/api/@ohos.multimodalInput.inputEvent.d.ts index 65053adb01d293c363d78942fc6601f6b5d864cb..cee8fc03973291a203709eb252f287424c95d3ab 100644 --- a/api/@ohos.multimodalInput.inputEvent.d.ts +++ b/api/@ohos.multimodalInput.inputEvent.d.ts @@ -28,7 +28,7 @@ /** * InputEvent * - * @typedef InputEvent + * @interface InputEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since 12 diff --git a/api/@ohos.multimodalInput.inputEventClient.d.ts b/api/@ohos.multimodalInput.inputEventClient.d.ts index fc4b4d1811a0659e0d4c8891e30cf71b847b33ad..04fd6cff44a1bab7277f7c646b50dca3c6b11d7c 100644 --- a/api/@ohos.multimodalInput.inputEventClient.d.ts +++ b/api/@ohos.multimodalInput.inputEventClient.d.ts @@ -184,7 +184,7 @@ declare namespace inputEventClient { * @systemapi hide for inner use * @since 12 */ - function injectEvent({ KeyEvent: KeyEvent }): void; + function injectEvent({ KeyEvent: KeyEvent }: { KeyEvent: any; }): void; /** * Inject mouse event.