@pawover/kit 0.0.0-alpha.31 → 0.0.0-alpha.33
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/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -12
- package/dist/index.js.map +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +3 -2
- package/dist/vite.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,8 @@ declare function arrayDifference<T>(initialList: readonly T[], diffList: readonl
|
|
|
46
46
|
* @param initialList 初始数组
|
|
47
47
|
* @param saveValue 安全值
|
|
48
48
|
*/
|
|
49
|
-
declare function arrayFirst<T>(initialList: readonly T[]
|
|
49
|
+
declare function arrayFirst<T>(initialList: readonly T[]): T | undefined;
|
|
50
|
+
declare function arrayFirst<T>(initialList: readonly T[], saveValue: T): T;
|
|
50
51
|
//#endregion
|
|
51
52
|
//#region src/utils/array/arrayFork.d.ts
|
|
52
53
|
/**
|
|
@@ -75,7 +76,8 @@ declare function arrayIntersection<T>(initialList: readonly T[], diffList: reado
|
|
|
75
76
|
* @param initialList 初始数组
|
|
76
77
|
* @param saveValue 安全值
|
|
77
78
|
*/
|
|
78
|
-
declare function arrayLast<T>(initialList: readonly T[]
|
|
79
|
+
declare function arrayLast<T>(initialList: readonly T[]): T | undefined;
|
|
80
|
+
declare function arrayLast<T>(initialList: readonly T[], saveValue: T): T;
|
|
79
81
|
//#endregion
|
|
80
82
|
//#region src/utils/array/arrayMerge.d.ts
|
|
81
83
|
/**
|