From 848ce72356c532fabf96c518b74b5817db814304 Mon Sep 17 00:00:00 2001 From: zhaobaiyi Date: Thu, 10 Jul 2025 14:49:40 +0800 Subject: [PATCH] Keyword avoidance Signed-off-by: zhaobaiyi --- api/@ohos.buffer.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.buffer.d.ts b/api/@ohos.buffer.d.ts index 562ee536c6..f95cd2d6e7 100644 --- a/api/@ohos.buffer.d.ts +++ b/api/@ohos.buffer.d.ts @@ -556,7 +556,7 @@ declare namespace buffer { * For the object whose value returned by valueof() function is strictly equal to object * or supports symbol To primitive object, a new buffer instance is created. * - * @param { Object } object - object object An object supporting Symbol.toPrimitive or valueOf() + * @param { Object } newobject - object object An object supporting Symbol.toPrimitive or valueOf() * @param { number | string } offsetOrEncoding - offsetOrEncoding offsetOrEncoding A byte-offset or encoding * @param { number } length - length length A length * @returns { Buffer } Return a new allocated Buffer @@ -569,7 +569,7 @@ declare namespace buffer { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - function from(object: Object, offsetOrEncoding: number | string, length: number): Buffer; + function from(newobject: Object, offsetOrEncoding: number | string, length: number): Buffer; /** * Creates a new Buffer containing string. The encoding parameter identifies the character encoding -- Gitee