From a306380fd52e8922e2aa64e91385cf847708eee5 Mon Sep 17 00:00:00 2001 From: zzz701 Date: Mon, 11 Aug 2025 11:07:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zzz701 --- api/@ohos.base.static.d.ets | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/@ohos.base.static.d.ets b/api/@ohos.base.static.d.ets index 3e22da2fda..9e0fa61a94 100644 --- a/api/@ohos.base.static.d.ets +++ b/api/@ohos.base.static.d.ets @@ -1,3 +1,4 @@ +"use static" /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -68,12 +69,12 @@ /** * A constructor used to create a BusinessError object * @param { int } code - * @param { T } data * @param { Error } error + * @param { T } data * @syscap SystemCapability.Base * @since 20 */ - constructor(code: int, data: T, error: Error); + constructor(code: int, error: Error, data: T); /** * Defines the basic error code. -- Gitee