ms-types 0.9.9 → 0.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/config.d.ts
CHANGED
|
@@ -30,6 +30,12 @@ declare namespace config {
|
|
|
30
30
|
* @example config.get("key")
|
|
31
31
|
*/
|
|
32
32
|
function get(key: string): any | null;
|
|
33
|
+
/**
|
|
34
|
+
* 获取 KUI 的配置
|
|
35
|
+
* @returns KUI_CONFIG 对应的字典,配置不存在或无法转换时返回空对象
|
|
36
|
+
* @example config.getKuiConfig()
|
|
37
|
+
*/
|
|
38
|
+
function getKuiConfig(): Record<string, any>;
|
|
33
39
|
/**
|
|
34
40
|
* 删除配置
|
|
35
41
|
* @param key 配置key
|
|
@@ -32,6 +32,12 @@ declare namespace $配置 {
|
|
|
32
32
|
* @example $配置.获取("key")
|
|
33
33
|
*/
|
|
34
34
|
function 获取(配置键: 字符串): 任意类型 | null;
|
|
35
|
+
/**
|
|
36
|
+
* 获取 KUI 的配置
|
|
37
|
+
* @returns KUI_CONFIG 对应的字典,配置不存在或无法转换时返回空对象
|
|
38
|
+
* @example $配置.获取KUI配置()
|
|
39
|
+
*/
|
|
40
|
+
function 获取KUI配置(): 字典<任意类型>;
|
|
35
41
|
/**
|
|
36
42
|
* 删除配置
|
|
37
43
|
* @param 配置键 配置key
|