From f5fc861b93db996612c72fb059159e845a08aeff Mon Sep 17 00:00:00 2001 From: shead-master Date: Tue, 19 Aug 2025 16:54:30 +0800 Subject: [PATCH] revert number2int 4 setappresourcelimit Signed-off-by: shead-master --- api/@ohos.hidebug.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index 76957f11ca..7eb9e66980 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -901,7 +901,7 @@ declare namespace hidebug { * Sets the number of FDs, number of threads, JS memory, or native memory limit of the application. * * @param { string } type - resource type. It could be pss_memory、js_heap、fd、or thread. - * @param { int } value - For different resource type, values could have different meaning: + * @param { number } value - For different resource type, values could have different meaning: * 1.For pss_memory, it means the baseline PSS memory size for the application, * system memory control will be triggered if exceed the value too much. * 2.For js_heap, it means the percentage of the used JS heap memory to the maximum limit exceed @@ -919,7 +919,7 @@ declare namespace hidebug { * @atomicservice * @since 12 */ - function setAppResourceLimit(type: string, value: int, enableDebugLog: boolean): void; + function setAppResourceLimit(type: string, value: number, enableDebugLog: boolean): void; /** * Obtains the debugging state of an application process. If the Ark or native layer of the application process is in -- Gitee