api lint 告警

Signed-off-by: m30063213 <m30063213@notesmail.huawei.com>
This commit is contained in:
m30063213 2024-07-26 12:04:29 +08:00
parent 1ed9cc7116
commit 2c4ce929a0
7 changed files with 14 additions and 14 deletions

View File

@ -57,7 +57,7 @@ declare namespace connection {
*/ */
/** /**
* Get an HTTP request task. * Get an HTTP request task.
* @typedef HttpRequest * @typedef { http.HttpRequest }
* @syscap SystemCapability.Communication.NetStack * @syscap SystemCapability.Communication.NetStack
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
@ -72,7 +72,7 @@ declare namespace connection {
*/ */
/** /**
* Get a TCPSocket object. * Get a TCPSocket object.
* @typedef TCPSocket * @typedef { socket.TCPSocket }
* @syscap SystemCapability.Communication.NetStack * @syscap SystemCapability.Communication.NetStack
* @crossplatform * @crossplatform
* @since 10 * @since 10
@ -86,7 +86,7 @@ declare namespace connection {
*/ */
/** /**
* Get a UDPSocket object. * Get a UDPSocket object.
* @typedef UDPSocket * @typedef { socket.UDPSocket }
* @syscap SystemCapability.Communication.NetStack * @syscap SystemCapability.Communication.NetStack
* @crossplatform * @crossplatform
* @since 10 * @since 10

View File

@ -43,7 +43,7 @@ declare namespace mdns {
*/ */
/** /**
* Get a network address. * Get a network address.
* @typedef NetAddress * @typedef { connection.NetAddress }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @atomicservice * @atomicservice
* @since 12 * @since 12

View File

@ -30,7 +30,7 @@ import type connection from './@ohos.net.connection';
declare namespace policy { declare namespace policy {
/** /**
* Get network bear type. * Get network bear type.
* @typedef NetBearType * @typedef { connection.NetBearType }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 10 * @since 10
*/ */

View File

@ -30,7 +30,7 @@ import type connection from './@ohos.net.connection';
declare namespace sharing { declare namespace sharing {
/** /**
* Get the handle of the data network. * Get the handle of the data network.
* @typedef NetHandle * @typedef { connection.NetHandle }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 9 * @since 9
*/ */

View File

@ -571,7 +571,7 @@ declare namespace statistics {
/** /**
* An {@link NetStatsInfo} array with start time and end time. * An {@link NetStatsInfo} array with start time and end time.
* @typedef NetStatsInfoSequence * @typedef { object }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @systemapi Hide this for inner system use. * @systemapi Hide this for inner system use.
* @since 12 * @since 12
@ -605,7 +605,7 @@ declare namespace statistics {
/** /**
* {@link NetStatsInfo} for every UID. Key is UID. * {@link NetStatsInfo} for every UID. Key is UID.
* @typedef UidNetStatsInfo * @typedef { object }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @systemapi Hide this for inner system use. * @systemapi Hide this for inner system use.
* @since 12 * @since 12

View File

@ -31,7 +31,7 @@ import type _AbilityContext from './application/UIAbilityContext';
declare namespace vpn { declare namespace vpn {
/** /**
* Get network link information. * Get network link information.
* @typedef LinkAddress * @typedef { connection.LinkAddress }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 10 * @since 10
*/ */
@ -39,7 +39,7 @@ declare namespace vpn {
/** /**
* Get network route information. * Get network route information.
* @typedef RouteInfo * @typedef { connection.RouteInfo }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 10 * @since 10
*/ */
@ -47,7 +47,7 @@ declare namespace vpn {
/** /**
* The context of an ability. It allows access to ability-specific resources. * The context of an ability. It allows access to ability-specific resources.
* @typedef AbilityContext * @typedef _AbilityContext
* @syscap SystemCapability.Ability.AbilityRuntime.Core * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @since 10 * @since 10
*/ */

View File

@ -31,7 +31,7 @@ import type Want from './@ohos.app.ability.Want';
declare namespace vpnExtension { declare namespace vpnExtension {
/** /**
* Get network link information. * Get network link information.
* @typedef LinkAddress * @typedef { connection.LinkAddress }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 11 * @since 11
*/ */
@ -39,7 +39,7 @@ declare namespace vpnExtension {
/** /**
* Get network route information. * Get network route information.
* @typedef RouteInfo * @typedef { connection.RouteInfo }
* @syscap SystemCapability.Communication.NetManager.Core * @syscap SystemCapability.Communication.NetManager.Core
* @since 11 * @since 11
*/ */
@ -48,7 +48,7 @@ declare namespace vpnExtension {
/** /**
* The context of vpn extension. It allows access to * The context of vpn extension. It allows access to
* serviceExtension-specific resources. * serviceExtension-specific resources.
* @typedef VpnExtensionContext * @typedef _VpnExtensionContext
* @syscap SystemCapability.Ability.AbilityRuntime.Core * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @since 11 * @since 11
*/ */