@selfcommunity/utils 0.2.0 → 0.2.1-alpha.1
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.
|
@@ -15,7 +15,7 @@ export declare function mergeDeep(target: object, source: object): object;
|
|
|
15
15
|
* @param obj
|
|
16
16
|
* @param keys
|
|
17
17
|
*/
|
|
18
|
-
export declare function objectWithoutProperties<T>(obj: T | null, keys: string[]): T;
|
|
18
|
+
export declare function objectWithoutProperties<T extends object>(obj: T | null, keys: string[]): T;
|
|
19
19
|
/**
|
|
20
20
|
* Check if v is a func
|
|
21
21
|
* @param v
|
|
@@ -15,7 +15,7 @@ export declare function mergeDeep(target: object, source: object): object;
|
|
|
15
15
|
* @param obj
|
|
16
16
|
* @param keys
|
|
17
17
|
*/
|
|
18
|
-
export declare function objectWithoutProperties<T>(obj: T | null, keys: string[]): T;
|
|
18
|
+
export declare function objectWithoutProperties<T extends object>(obj: T | null, keys: string[]): T;
|
|
19
19
|
/**
|
|
20
20
|
* Check if v is a func
|
|
21
21
|
* @param v
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"bugs": {
|
|
102
102
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "b0388e8b96408aa34369b12e983910e4be28b485"
|
|
105
105
|
}
|