xshell 1.2.56 → 1.2.57
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 +1 -1
- package/utils.browser.d.ts +1 -1
- package/utils.d.ts +1 -1
package/package.json
CHANGED
package/utils.browser.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare function zip_object<TValue>(keys: (string | number)[], values: TV
|
|
|
22
22
|
- overrider?: 添加一些键到返回的新对象上 */
|
|
23
23
|
export declare function map_keys<TReturn>(obj: any, mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => Partial<TReturn>): TReturn;
|
|
24
24
|
/** 返回一个映射对象 keys 的函数,通常和 .map 函数一起使用 */
|
|
25
|
-
export declare function get_key_mapper<TReturn>(mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => TReturn): (obj: any) => TReturn;
|
|
25
|
+
export declare function get_key_mapper<TReturn>(mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => Partial<TReturn>): (obj: any) => TReturn;
|
|
26
26
|
/** 过滤对象中的 values, 返回新对象
|
|
27
27
|
- obj
|
|
28
28
|
- filter?: `not_empty` */
|
package/utils.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare function zip_object<TValue>(keys: (string | number)[], values: TV
|
|
|
31
31
|
- overrider?: 添加一些键到返回的新对象上 */
|
|
32
32
|
export declare function map_keys<TReturn>(obj: any, mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => Partial<TReturn>): TReturn;
|
|
33
33
|
/** 返回一个映射对象 keys 的函数,通常和 .map 函数一起使用 */
|
|
34
|
-
export declare function get_key_mapper<TReturn>(mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => TReturn): (obj: any) => TReturn;
|
|
34
|
+
export declare function get_key_mapper<TReturn>(mapper?: ((key: string) => string) | Record<string, string>, overrider?: (mapped: any) => Partial<TReturn>): (obj: any) => TReturn;
|
|
35
35
|
/** 映射对象中的 values, 返回新对象 */
|
|
36
36
|
export declare function map_values<TValue, TNewValue>(obj: {
|
|
37
37
|
[key: string]: TValue;
|