@cclr/lang 0.0.9 → 0.0.10
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/lib/type/index.d.ts +11 -0
- package/package.json +2 -2
package/lib/type/index.d.ts
CHANGED
|
@@ -65,7 +65,18 @@ declare const set: (source: object | null | undefined, path: string, value: any)
|
|
|
65
65
|
*/
|
|
66
66
|
declare const uuid: () => string;
|
|
67
67
|
|
|
68
|
+
/**
|
|
69
|
+
* 过滤属性
|
|
70
|
+
* @param sourceObj
|
|
71
|
+
* @param filter
|
|
72
|
+
* @returns
|
|
73
|
+
*/
|
|
68
74
|
declare const filter: (sourceObj: any, filter: any) => {};
|
|
75
|
+
/**
|
|
76
|
+
* 拓展对象
|
|
77
|
+
* @param sourceObj
|
|
78
|
+
* @param injectObj
|
|
79
|
+
*/
|
|
69
80
|
declare const extend: (sourceObj: any, injectObj: any) => void;
|
|
70
81
|
/**
|
|
71
82
|
* 对象挑选
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cclr/lang",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "js语言基础工具",
|
|
5
5
|
"author": "cclr <18843152354@163.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "node ./__tests__/lang.test.js"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "d58e3b15266c99cfe0938671a0de64bcc19e0b3f"
|
|
27
27
|
}
|