From efc11b0a3a7922ba75c6b3072064d53f542fff1a Mon Sep 17 00:00:00 2001 From: ShiJie Date: Thu, 13 Jan 2022 16:52:05 +0800 Subject: [PATCH] =?UTF-8?q?runninglock.d.ts=E8=AF=AD=E6=B3=95=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ShiJie Change-Id: I14473f460308019985687cc7441cb5592e1fecf7 --- api/@ohos.runninglock.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.runninglock.d.ts b/api/@ohos.runninglock.d.ts index 808ea5f13d..b8cddbeadb 100644 --- a/api/@ohos.runninglock.d.ts +++ b/api/@ohos.runninglock.d.ts @@ -37,7 +37,7 @@ declare namespace runningLock { * released and the system hibernates if no other {@link RunningLock} is set. * @since 7 */ - function lock(timeout: number): void; + lock(timeout: number): void; /** * Checks whether a lock is held or in use. @@ -45,14 +45,14 @@ declare namespace runningLock { * @return Returns true if the lock is held or in use; returns false if the lock has been released. * @since 7 */ - function isUsed(): boolean; + isUsed(): boolean; /** * Release the {@link RunningLock} that prevents the system from hibernating. * * @since 7 */ - function unlock(): void; + unlock(): void; } /** -- Gitee