mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 17:31:12 +00:00
preference增加数组类型的存储
Signed-off-by: li_juntao <lijuntao9@huawei.com>
This commit is contained in:
parent
e0c452db99
commit
a347a08837
2
api/@ohos.data.preferences.d.ts
vendored
2
api/@ohos.data.preferences.d.ts
vendored
@ -193,7 +193,7 @@ declare namespace preferences {
|
||||
/**
|
||||
* Indicates possible value types
|
||||
*/
|
||||
type ValueType = number | string | boolean;
|
||||
type ValueType = number | string | boolean | Array<number> | Array<string> | Array<boolean>;
|
||||
|
||||
/**
|
||||
* Indicates the maximum length of a key (80 characters).
|
||||
|
Loading…
Reference in New Issue
Block a user