diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md b/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md index 788500960d79c5cf3cd5f19c27bf32e5e036e199..fe12382dceca032ae728ba41e210272081014e94 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md @@ -32,7 +32,7 @@ injectEvent({KeyEvent: KeyEvent}): void ```js try { - let backKeyDown = { + let backKeyDown: inputEventClient.KeyEvent = { isPressed: true, keyCode: 2, keyDownDuration: 0, @@ -40,7 +40,7 @@ try { } inputEventClient.injectEvent({ KeyEvent: backKeyDown }); - let backKeyUp = { + let backKeyUp: inputEventClient.KeyEvent = { isPressed: false, keyCode: 2, keyDownDuration: 0,