@etsoo/shared 1.2.43 → 1.2.44
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/LICENSE +1 -1
- package/lib/cjs/DomUtils.d.ts +0 -1
- package/lib/cjs/Utils.d.ts +1 -1
- package/lib/mjs/DomUtils.d.ts +0 -1
- package/lib/mjs/Utils.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2004-2024 ETSOO ® (亿速思维 ®), https://
|
|
3
|
+
Copyright (c) 2004-2024 ETSOO ® (亿速思维 ®), https://etsoo.com, https://etsoo.nz
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/lib/cjs/DomUtils.d.ts
CHANGED
package/lib/cjs/Utils.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export declare namespace Utils {
|
|
|
148
148
|
* @param args Arguments
|
|
149
149
|
* @returns Result
|
|
150
150
|
*/
|
|
151
|
-
const getResult: <R, T = R | DataTypes.Func<R>>(input: T, ...args: T extends DataTypes.Func<R> ? Parameters<
|
|
151
|
+
const getResult: <R, T = R | DataTypes.Func<R>>(input: T, ...args: T extends DataTypes.Func<R> ? Parameters<typeof input> : never | []) => T extends DataTypes.Func<R> ? ReturnType<T> : T;
|
|
152
152
|
/**
|
|
153
153
|
* Get time zone
|
|
154
154
|
* @returns Timezone
|
package/lib/mjs/DomUtils.d.ts
CHANGED
package/lib/mjs/Utils.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export declare namespace Utils {
|
|
|
148
148
|
* @param args Arguments
|
|
149
149
|
* @returns Result
|
|
150
150
|
*/
|
|
151
|
-
const getResult: <R, T = R | DataTypes.Func<R>>(input: T, ...args: T extends DataTypes.Func<R> ? Parameters<
|
|
151
|
+
const getResult: <R, T = R | DataTypes.Func<R>>(input: T, ...args: T extends DataTypes.Func<R> ? Parameters<typeof input> : never | []) => T extends DataTypes.Func<R> ? ReturnType<T> : T;
|
|
152
152
|
/**
|
|
153
153
|
* Get time zone
|
|
154
154
|
* @returns Timezone
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/shared",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.44",
|
|
4
4
|
"description": "TypeScript shared utilities and functions",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@types/lodash.isequal": "^4.5.8",
|
|
59
59
|
"jest": "^29.7.0",
|
|
60
60
|
"jest-environment-jsdom": "^29.7.0",
|
|
61
|
-
"ts-jest": "^29.
|
|
62
|
-
"typescript": "^5.4
|
|
61
|
+
"ts-jest": "^29.2.4",
|
|
62
|
+
"typescript": "^5.5.4"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"lodash.isequal": "^4.5.0"
|