diff --git a/api/application/BaseContext.d.ets b/api/application/BaseContext.d.ets deleted file mode 100644 index a68152226508dab621634caa9a25f313f484e9f5..0000000000000000000000000000000000000000 --- 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 feb94cc4b00c632eb690a3682633e534d5abeb69..77327e650859ffcc1feb0d44d40227e444f19380 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; }