From 0c5b148224a22a7ae1ad8294f6119971a68ca868 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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuhui --- 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 2e3a1a3ba4..0bcff8d61a 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 cdf11d54db..11e3432a5a 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 299e0a8f9e..cfcc7245bd 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 a9a9ed0b58..027a3ce437 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 6a71e32465..a24217299b 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