@augment-vir/core 31.71.0 → 31.71.2

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.
@@ -5,7 +5,7 @@
5
5
  * @category Package : @augment-vir/common
6
6
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
7
7
  */
8
- export type ArrayElement<ArrayType extends ReadonlyArray<any>> = ArrayType[number];
8
+ export type ArrayElement<T extends ReadonlyArray<any>> = T[number];
9
9
  /**
10
10
  * Either an array of `T` or just `T` itself.
11
11
  *
@@ -10,6 +10,8 @@ export type CompleteValues<T> = CompleteRequire<T>[keyof T];
10
10
  /**
11
11
  * Gets the value types of an object.
12
12
  *
13
+ * Do NOT use this on arrays, it will return incorrect values. Instead, use `ArrayElement`.
14
+ *
13
15
  * @category Object
14
16
  * @category Package : @augment-vir/common
15
17
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/core",
3
- "version": "31.71.0",
3
+ "version": "31.71.2",
4
4
  "description": "Core augment-vir augments. Use @augment-vir/common instead.",
5
5
  "homepage": "https://github.com/electrovir/augment-vir",
6
6
  "bugs": {