mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +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
|
||||
* @since 11
|
||||
*/
|
||||
/**
|
||||
* Indicates the screen direction of the current device.
|
||||
*
|
||||
* @type { Direction }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
direction: Direction;
|
||||
|
||||
/**
|
||||
@ -551,6 +560,15 @@ declare namespace resourceManager {
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
/**
|
||||
* Indicates the current system language, for example, zh-Hans-CN.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
locale: string;
|
||||
|
||||
/**
|
||||
@ -652,6 +670,15 @@ declare namespace resourceManager {
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
/**
|
||||
* Indicates the screen density of the current device.
|
||||
*
|
||||
* @type { ScreenDensity }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
screenDensity: ScreenDensity;
|
||||
|
||||
/**
|
||||
@ -675,6 +702,15 @@ declare namespace resourceManager {
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
/**
|
||||
* Indicates the type of the current device.
|
||||
*
|
||||
* @type { DeviceType }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
deviceType: DeviceType;
|
||||
}
|
||||
|
||||
|
3
api/global/rawFileDescriptor.d.ts
vendored
3
api/global/rawFileDescriptor.d.ts
vendored
@ -59,6 +59,7 @@ export interface RawFileDescriptor {
|
||||
/**
|
||||
* rawfile descriptor
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -82,6 +83,7 @@ export interface RawFileDescriptor {
|
||||
/**
|
||||
* the offset from where the raw file starts in the HAP
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -105,6 +107,7 @@ export interface RawFileDescriptor {
|
||||
/**
|
||||
* the length of the raw file in the HAP
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Global.ResourceManager
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
Loading…
Reference in New Issue
Block a user