preference增加数组类型的存储

Signed-off-by: li_juntao <lijuntao9@huawei.com>
This commit is contained in:
li_juntao 2022-05-19 09:25:32 +08:00
parent e0c452db99
commit a347a08837

View File

@ -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).