From 54fba6e64a65f377913050e62feb13016f19b0eb Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Thu, 26 Jun 2025 15:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=83=E8=83=BD=E5=8A=9Bbasecontext.d.ets?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- api/application/BaseContext.d.ets | 43 ------------------------------- api/application/BaseContext.d.ts | 6 +++-- 2 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 api/application/BaseContext.d.ets diff --git a/api/application/BaseContext.d.ets b/api/application/BaseContext.d.ets deleted file mode 100644 index a681522265..0000000000 --- a/api/application/BaseContext.d.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"), - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * @file - * @kit AbilityKit - */ - -/** - * The base context of 'app.Context' for FA Mode or - * 'application.Context' for Stage Mode. - * - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @crossplatform - * @atomicservice - * @since 20 - * @arkts 1.2 - */ -export default abstract class BaseContext { - /** - * Indicates the context is FA Mode or Stage Mode. - * - * @type { boolean } - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @crossplatform - * @atomicservice - * @since 20 - * @arkts 1.2 - */ - stageMode: boolean; -} diff --git a/api/application/BaseContext.d.ts b/api/application/BaseContext.d.ts index feb94cc4b0..77327e6508 100644 --- a/api/application/BaseContext.d.ts +++ b/api/application/BaseContext.d.ts @@ -40,7 +40,8 @@ * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ export default abstract class BaseContext { /** @@ -65,7 +66,8 @@ export default abstract class BaseContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ stageMode: boolean; } -- Gitee