es-toolkit 1.31.0-dev.1000 → 1.31.0-dev.1001

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.
@@ -13,6 +13,6 @@
13
13
  * const result = at(numbers, [1, 3, 4]);
14
14
  * console.log(result); // [20, 40, 50]
15
15
  */
16
- declare function at<T>(arr: readonly T[], indices: number[]): Array<T | undefined>;
16
+ declare function at<T>(arr: readonly T[], indices: number[]): T[];
17
17
 
18
18
  export { at };
@@ -13,6 +13,6 @@
13
13
  * const result = at(numbers, [1, 3, 4]);
14
14
  * console.log(result); // [20, 40, 50]
15
15
  */
16
- declare function at<T>(arr: readonly T[], indices: number[]): Array<T | undefined>;
16
+ declare function at<T>(arr: readonly T[], indices: number[]): T[];
17
17
 
18
18
  export { at };
@@ -16,6 +16,6 @@
16
16
  * console.log(removed); // [20, 40, 50]
17
17
  * console.log(numbers); // [10, 30]
18
18
  */
19
- declare function pullAt<T>(arr: T[], indicesToRemove: number[]): Array<T | undefined>;
19
+ declare function pullAt<T>(arr: T[], indicesToRemove: number[]): T[];
20
20
 
21
21
  export { pullAt };
@@ -16,6 +16,6 @@
16
16
  * console.log(removed); // [20, 40, 50]
17
17
  * console.log(numbers); // [10, 30]
18
18
  */
19
- declare function pullAt<T>(arr: T[], indicesToRemove: number[]): Array<T | undefined>;
19
+ declare function pullAt<T>(arr: T[], indicesToRemove: number[]): T[];
20
20
 
21
21
  export { pullAt };