From f26635f244f3837eabe65080560854c9e5fa86ba Mon Sep 17 00:00:00 2001 From: liuhui Date: Tue, 12 Aug 2025 19:47:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85use=20static=20Signed-off-by:?= =?UTF-8?q?=20liuhui=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets | 1 + api/@ohos.arkui.inspector.static.d.ets | 1 + api/@ohos.pluginComponent.static.d.ets | 1 + api/arkui/component/embeddedComponent.static.d.ets | 1 + api/arkui/component/interop.static.d.ets | 2 +- api/arkui/component/pluginComponent.static.d.ets | 1 + api/arkui/component/uiExtensionComponent.static.d.ets | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets index 6b52a4042d..3ca1a97816 100644 --- a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets +++ b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.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"); diff --git a/api/@ohos.arkui.inspector.static.d.ets b/api/@ohos.arkui.inspector.static.d.ets index 56dc2877f8..2242d4b559 100644 --- a/api/@ohos.arkui.inspector.static.d.ets +++ b/api/@ohos.arkui.inspector.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"); diff --git a/api/@ohos.pluginComponent.static.d.ets b/api/@ohos.pluginComponent.static.d.ets index d61c495c85..05773cd4d7 100644 --- a/api/@ohos.pluginComponent.static.d.ets +++ b/api/@ohos.pluginComponent.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2021-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/component/embeddedComponent.static.d.ets b/api/arkui/component/embeddedComponent.static.d.ets index 87cb3e0776..8753dfc340 100644 --- a/api/arkui/component/embeddedComponent.static.d.ets +++ b/api/arkui/component/embeddedComponent.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"); diff --git a/api/arkui/component/interop.static.d.ets b/api/arkui/component/interop.static.d.ets index 3bffbf685c..8bd6ff1405 100644 --- a/api/arkui/component/interop.static.d.ets +++ b/api/arkui/component/interop.static.d.ets @@ -1,4 +1,4 @@ -'use static' +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/component/pluginComponent.static.d.ets b/api/arkui/component/pluginComponent.static.d.ets index 5d1c75ce95..123ec262e8 100644 --- a/api/arkui/component/pluginComponent.static.d.ets +++ b/api/arkui/component/pluginComponent.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2021-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/component/uiExtensionComponent.static.d.ets b/api/arkui/component/uiExtensionComponent.static.d.ets index ab83c86bec..800ab44651 100644 --- a/api/arkui/component/uiExtensionComponent.static.d.ets +++ b/api/arkui/component/uiExtensionComponent.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"); -- Gitee