mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
api lint 告警消除
Signed-off-by: 谢智宇 <xiezhiyu2@huawei.com>
This commit is contained in:
parent
3135cc6cbf
commit
3f982ac32d
36
api/@ohos.resourceManager.d.ts
vendored
36
api/@ohos.resourceManager.d.ts
vendored
@ -528,6 +528,15 @@ declare namespace resourceManager {
|
|||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Indicates the screen direction of the current device.
|
||||||
|
*
|
||||||
|
* @type { Direction }
|
||||||
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
|
* @crossplatform
|
||||||
|
* @atomicservice
|
||||||
|
* @since 12
|
||||||
|
*/
|
||||||
direction: Direction;
|
direction: Direction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -551,6 +560,15 @@ declare namespace resourceManager {
|
|||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Indicates the current system language, for example, zh-Hans-CN.
|
||||||
|
*
|
||||||
|
* @type { string }
|
||||||
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
|
* @crossplatform
|
||||||
|
* @atomicservice
|
||||||
|
* @since 12
|
||||||
|
*/
|
||||||
locale: string;
|
locale: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -652,6 +670,15 @@ declare namespace resourceManager {
|
|||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Indicates the screen density of the current device.
|
||||||
|
*
|
||||||
|
* @type { ScreenDensity }
|
||||||
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
|
* @crossplatform
|
||||||
|
* @atomicservice
|
||||||
|
* @since 12
|
||||||
|
*/
|
||||||
screenDensity: ScreenDensity;
|
screenDensity: ScreenDensity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -675,6 +702,15 @@ declare namespace resourceManager {
|
|||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Indicates the type of the current device.
|
||||||
|
*
|
||||||
|
* @type { DeviceType }
|
||||||
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
|
* @crossplatform
|
||||||
|
* @atomicservice
|
||||||
|
* @since 12
|
||||||
|
*/
|
||||||
deviceType: DeviceType;
|
deviceType: DeviceType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
api/global/rawFileDescriptor.d.ts
vendored
5
api/global/rawFileDescriptor.d.ts
vendored
@ -58,7 +58,8 @@ export interface RawFileDescriptor {
|
|||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* rawfile descriptor
|
* rawfile descriptor
|
||||||
*
|
*
|
||||||
|
* @type { number }
|
||||||
* @syscap SystemCapability.Global.ResourceManager
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -82,6 +83,7 @@ export interface RawFileDescriptor {
|
|||||||
/**
|
/**
|
||||||
* the offset from where the raw file starts in the HAP
|
* the offset from where the raw file starts in the HAP
|
||||||
*
|
*
|
||||||
|
* @type { number }
|
||||||
* @syscap SystemCapability.Global.ResourceManager
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -105,6 +107,7 @@ export interface RawFileDescriptor {
|
|||||||
/**
|
/**
|
||||||
* the length of the raw file in the HAP
|
* the length of the raw file in the HAP
|
||||||
*
|
*
|
||||||
|
* @type { number }
|
||||||
* @syscap SystemCapability.Global.ResourceManager
|
* @syscap SystemCapability.Global.ResourceManager
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
|
Loading…
Reference in New Issue
Block a user