整改jsdoc

Signed-off-by: ywx1057076 <yanpei12@huawei.com>
This commit is contained in:
ywx1057076 2023-04-04 10:17:06 +08:00
parent b4839a3c5e
commit 3730035a70
203 changed files with 292 additions and 271 deletions

View File

@ -25,7 +25,7 @@ import rdb from "../../@ohos.data.rdb";
import rpc from "../../@ohos.rpc";
import resourceManager from "../../@ohos.resourceManager";
import { PacMap } from "../../ability/dataAbilityHelper";
import { AsyncCallback } from "../../basic";
import { AsyncCallback } from "../../@ohos.base";
/**
* interface of form lifecycle.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import ExtensionContext from './application/ExtensionContext';
/**

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { Callback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { Callback } from './@ohos.base';
import Want from './@ohos.app.ability.Want';
import { StartAbilityParameter } from './ability/startAbilityParameter';
import { AbilityResult } from './ability/abilityResult';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { StartAbilityParameter } from './ability/startAbilityParameter';
import { DataAbilityHelper } from './ability/dataAbilityHelper';
import { NotificationRequest } from './notification/notificationRequest';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import { Permissions } from './permissions';
import { Context } from './application/Context';
import { PermissionRequestResult } from './security/PermissionRequestResult';

View File

@ -14,7 +14,7 @@
*/
import accessibility from './@ohos.accessibility';
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Configuration of the accessibility.

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { Callback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { Callback } from './@ohos.base';
/**
* Accessibility

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import Want from './@ohos.app.ability.Want';
import rpc from './@ohos.rpc';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* This module provides the capability to manage distributed accounts.

View File

@ -14,7 +14,7 @@
*/
import distributedAccount from './@ohos.account.distributedAccount';
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* This module provides the capability to manage os accounts.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback} from "./basic";
import {AsyncCallback} from "./@ohos.base";
/**
* Window animation manager.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { Configuration } from './@ohos.app.ability.Configuration';
import { AbilityRunningInfo as _AbilityRunningInfo } from './application/AbilityRunningInfo';
import { ExtensionRunningInfo as _ExtensionRunningInfo } from './application/ExtensionRunningInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import * as _ApplicationStateObserver from './application/ApplicationStateObserver';
import * as _AbilityStateData from './application/AbilityStateData';
import * as _AppStateData from './application/AppStateData';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import * as _ErrorObserver from './application/ErrorObserver';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { MissionInfo as _MissionInfo } from './application/MissionInfo';
import { MissionListener as _MissionListener } from './application/MissionListener';
import { MissionSnapshot as _MissionSnapshot } from './application/MissionSnapshot';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
/**
* Interface of quickFixManager.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback , Callback} from './basic';
import { AsyncCallback , Callback} from './@ohos.base';
import Want from './@ohos.app.ability.Want';
import { WantAgentInfo as _WantAgentInfo } from './wantAgent/wantAgentInfo';
import { TriggerInfo as _TriggerInfo } from './wantAgent/triggerInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import type { AsyncCallback } from './basic';
import type { AsyncCallback } from './@ohos.base';
import type * as _BusinessAbilityInfo from './bundleManager/BusinessAbilityInfo';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { BusinessError } from './basic';
import { BusinessError } from './@ohos.base';
/**
* Interface of formBindingData.

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { Callback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import { Callback } from "./@ohos.base";
import Want from './@ohos.app.ability.Want';
import formInfo from './@ohos.app.form.formInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import formBindingData from "./@ohos.app.form.formBindingData";
import formInfo from "./@ohos.app.form.formInfo";
import Want from "./@ohos.app.ability.Want";

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import ExtensionContext from "./application/ExtensionContext";
import Want from './@ohos.app.ability.Want';
import dataSharePredicates from './@ohos.data.dataSharePredicates';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { Configuration } from './@ohos.application.Configuration';
import { AbilityRunningInfo } from './application/AbilityRunningInfo';
import { ExtensionRunningInfo } from './application/ExtensionRunningInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import ApplicationStateObserver from './application/ApplicationStateObserver';
import AbilityStateData from './application/AbilityStateData';
import AppStateData from './application/AppStateData';

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { Callback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import { Callback } from "./@ohos.base";
import Want from './@ohos.app.ability.Want';
import formInfo from './@ohos.app.form.formInfo'

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import formBindingData from "./@ohos.application.formBindingData";
import formInfo from "./@ohos.app.form.formInfo";
import Want from './@ohos.app.ability.Want';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { MissionInfo } from './application/MissionInfo';
import { MissionListener } from './application/MissionListener';
import { MissionSnapshot } from './application/MissionSnapshot';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import image from './@ohos.multimedia.image'
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback , Callback} from './basic';
import { AsyncCallback , Callback} from './@ohos.base';
import { WantAgent } from "./@ohos.wantAgent";
import Context from './application/BaseContext';

View File

@ -1,68 +1,81 @@
/*
* Copyright (c) 2021 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.
*/
/**
* Defines the basic callback.
* @since 6
*/
export interface Callback<T> {
/**
* Defines the callback info.
* @since 6
*/
(data: T): void;
}
/**
* Defines the basic error callback.
* @since 6
*/
export interface ErrorCallback<T extends Error = BusinessError> {
/**
* Defines the basic error callback.
* @since 6
*/
(err: T): void;
}
/**
* Defines the basic async callback.
* @since 6
*/
export interface AsyncCallback<T, E = void> {
/**
* Defines the callback data.
* @since 6
*/
(err: BusinessError<E>, data: T): void;
}
/**
* Defines the error interface.
* @since 6
*/
export interface BusinessError<T = void> extends Error {
/**
* Defines the basic error code.
* @since 6
*/
code: number;
/**
* Defines the additional information for business
* @type { ?T }
* @since 9
*/
data?: T;
}
/*
* Copyright (c) 2021 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.
*/
/**
* Defines the basic callback.
* @syscap SystemCapability.Base
* @typedef Callback
* @since 6
*/
export interface Callback<T> {
/**
* Defines the callback info.
* @param { T } data
* @since 6
*/
(data: T): void;
}
/**
* Defines the basic error callback.
* @syscap SystemCapability.Base
* @typedef ErrorCallback
* @since 6
*/
export interface ErrorCallback<T extends Error = BusinessError> {
/**
* Defines the basic error callback.
* @param { T } err
* @since 6
*/
(err: T): void;
}
/**
* Defines the basic async callback.
* @syscap SystemCapability.Base
* @typedef AsyncCallback
* @since 6
*/
export interface AsyncCallback<T, E = void> {
/**
* Defines the callback data.
* @param { BusinessError<E> } err
* @param { T } data
* @since 6
*/
(err: BusinessError<E>, data: T): void;
}
/**
* Defines the error interface.
* @syscap SystemCapability.Base
* @typedef BusinessError
* @since 6
*/
export interface BusinessError<T = void> extends Error {
/**
* Defines the basic error code.
* @type { number } code
* @since 6
*/
code: number;
/**
* Defines the additional information for business
* @type { ?T } data
* @since 9
*/
data?: T;
}

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, BusinessError } from './basic';
import { AsyncCallback, BusinessError } from './@ohos.base';
/**
* Provides methods to get power consumption information.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Provides methods to operate or manage Bluetooth.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Provides methods to operate or manage Bluetooth.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { BusinessError } from './basic';
import { BusinessError } from './@ohos.base';
/**
* Provides interfaces to control the power of display.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import Want from './@ohos.app.ability.Want';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { ApplicationInfo as _ApplicationInfo } from './bundleManager/ApplicationInfo';
import { Metadata as _Metadata } from './bundleManager/Metadata';
import { PermissionDef as _PermissionDef } from './bundleManager/PermissionDef';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { Callback } from './basic';
import { Callback } from './@ohos.base';
/**
* Bundle monitor

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { ApplicationInfo } from './bundle/applicationInfo';
import { AbilityInfo } from './bundle/abilityInfo';
import { PermissionDef } from './bundle/PermissionDef';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { BundleInfo } from './bundleManager/BundleInfo';
import { ElementName } from './bundleManager/ElementName';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { ElementName } from './bundleManager/ElementName';
import { RemoteAbilityInfo as _RemoteAbilityInfo } from './bundleManager/RemoteAbilityInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { DispatchInfo as _DispatchInfo } from './bundleManager/DispatchInfo';
import * as _PackInfo from './bundleManager/BundlePackInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { BundleStatusCallback } from './bundle/bundleStatusCallback';
import { LauncherAbilityInfo } from './bundle/launcherAbilityInfo';
import { ShortcutInfo } from './bundle/shortcutInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* Support install, upgrade, remove and recover bundles on the devices.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { LauncherAbilityInfo as _LauncherAbilityInfo } from './bundleManager/LauncherAbilityInfo';
import { ShortcutInfo as _ShortcutInfo, ShortcutWant as _ShortcutWant } from './bundleManager/ShortcutInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import * as _OverlayModuleInfo from './bundleManager/OverlayModuleInfo';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Provides methods for managing bundle usage statistics,

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { CommonEventData } from './commonEvent/commonEventData';
import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
import { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { CommonEventData } from './commonEvent/commonEventData';
import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
import { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback} from "./basic";
import {AsyncCallback} from "./@ohos.base";
/**
* Provides file path related APIS.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Provides methods to operate or manage Connected Tag.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* Contains variety of system contact, provides functions for adding, updating and deleting these system contact

View File

@ -12,8 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Callback } from './basic';
import { AsyncCallback } from './basic';
import { Callback } from './@ohos.base';
import { AsyncCallback } from './@ohos.base';
import { ContinuationResult } from './continuation/continuationResult'
import { ContinuationExtraParams } from './continuation/continuationExtraParams'

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import rdb from './@ohos.data.rdb';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import Context from './application/Context';
import DataShareResultSet from './@ohos.data.DataShareResultSet';
import dataSharePredicates from './@ohos.data.dataSharePredicates';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback, Callback} from './basic';
import {AsyncCallback, Callback} from './@ohos.base';
/**
* Providers interfaces to creat a {@link KVManager} instance.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import Context from './application/Context';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import { ValuesBucket } from './@ohos.data.ValuesBucket';
import dataSharePredicates from './@ohos.data.dataSharePredicates';
import BaseContext from './application/BaseContext';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import Context from './application/BaseContext';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import { ResultSet as _ResultSet } from './data/rdb/resultSet';
import Context from './application/BaseContext';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import Context from './application/BaseContext';
import dataSharePredicates from './@ohos.data.dataSharePredicates';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Provides interfaces to obtain and modify storage data.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* xts_device_attest authResult information

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import type { AsyncCallback, Callback } from './basic';
import type { AsyncCallback, Callback } from './@ohos.base';
/**
* Interface of display manager.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { ElementName } from './bundle/elementName';
import { RemoteAbilityInfo } from './bundle/remoteAbilityInfo';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
/**
* Providers interfaces to create a {@link deviceManager} instances.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import { ContinueCallback } from './application/ContinueCallback';
import { ContinueDeviceInfo } from './application/ContinueDeviceInfo';
import { MissionCallback } from './application/MissionCallbacks';

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from './basic'
import { AsyncCallback } from './@ohos.base'
export default document;

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import image from './@ohos.multimedia.image';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from "./basic";
import { AsyncCallback, Callback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import type Want from './@ohos.app.ability.Want';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from "./basic";
import { AsyncCallback, Callback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
import Want from "./@ohos.app.ability.Want";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { Callback } from './basic';
import { Callback } from './@ohos.base';
/**
* Provides methods for sending and processing in-process events.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import type { AsyncCallback } from './basic';
import type { AsyncCallback } from './@ohos.base';
/**
* This module provides the capability to query faultlog data.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import type { AsyncCallback, Callback } from './basic';
import type { AsyncCallback, Callback } from './@ohos.base';
/**
* Module providing backup and restore capabilities.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import type { AsyncCallback } from './basic';
import type { AsyncCallback } from './@ohos.base';
/**
* This module provides the capabilities to manage the state and data of cloud file synchronization.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
/**
* Provides Environment APIs.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from "./basic";
import { AsyncCallback, Callback } from "./@ohos.base";
import Want from './@ohos.app.ability.Want';
import Context from './application/Context';
import { Filter } from './@ohos.file.fs';

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from './basic'
import { AsyncCallback } from './@ohos.base';
export default fileIo;

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from './basic'
import { AsyncCallback } from './@ohos.base'
/**
* Hash

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from "./basic";
import { AsyncCallback, Callback } from "./@ohos.base";
/**
* This module provides the capabilities to use different pickers.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
/**
* Provides securityLabel APIs

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from "./basic";
import { AsyncCallback } from "./@ohos.base";
/**
* Provides filesystem statistics APIs

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback, Callback} from "./basic";
import {AsyncCallback, Callback} from "./@ohos.base";
/**
* Provides filesystem statistics APIs

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback, Callback} from "./basic";
import {AsyncCallback, Callback} from "./@ohos.base";
/**
* Provides volumemanager statistics APIs

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from './basic'
import { AsyncCallback } from './@ohos.base'
export default fileIO;

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import Context from './application/Context';
import image from './@ohos.multimedia.image';
import dataSharePredicates from './@ohos.data.dataSharePredicates';

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import {AsyncCallback, Callback} from "./basic";
import {AsyncCallback, Callback} from "./@ohos.base";
import wantConstant from "./@ohos.ability.wantConstant";
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import { WantAgent } from './@ohos.wantAgent';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
import { AsyncCallback, Callback } from './@ohos.base';
import { WantAgent } from './@ohos.wantAgent';
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* colorSpaceManager

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* Provides the event logging function for applications to log the fault, statistical, security,

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* Provides the system event logging function for applications to log the fault, statistical, security,

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
/**
* Provides the event logging function for applications to log the fault, statistical, security,

2
api/@ohos.i18n.d.ts vendored
View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {BusinessError} from "./basic";
import {BusinessError} from "./@ohos.base";
/**
* Provides international settings related APIs.

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import { AsyncCallback } from './@ohos.base';
import InputMethodSubtype from './@ohos.InputMethodSubtype';
import { Movement, Range } from './imf/InputMethodCommon';

Some files were not shown because too many files have changed in this diff Show More