utilitish 0.0.15 → 0.0.16

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.
@@ -332,7 +332,9 @@ declare global {
332
332
  * - Symbols are not supported in plain objects
333
333
  */
334
334
  toObject<K extends PropertyKey, V>(this: [K, V][]): Record<K, V>;
335
- toObject<K extends PropertyKey, V>(this: T[], keySelector?: Selector<T, K>, valueSelector?: Selector<T, V>): Record<K | number, V | T>;
335
+ toObject<K extends PropertyKey, V>(this: T[]): Record<number, T>;
336
+ toObject<K extends PropertyKey, V>(this: T[], keySelector: Selector<T, K>): Record<K, T>;
337
+ toObject<K extends PropertyKey, V>(this: T[], keySelector: Selector<T, K>, valueSelector: Selector<T, V>): Record<K, V>;
336
338
  /**
337
339
  * Returns a Set containing the unique elements of the array.
338
340
  * Optionally applies a selector function or property key to extract values for the Set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilitish",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/FDonovan12/utilitish.git"