@ceale/util 1.21.0 → 1.21.1

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.
@@ -3,7 +3,7 @@ type EnumKeyValue<T extends readonly string[]> = {
3
3
  };
4
4
  interface EnumMethod<T extends readonly string[]> {
5
5
  values(): T;
6
- includes<V extends any>(value: V): boolean;
6
+ includes(value: unknown): value is T[number];
7
7
  }
8
8
  /**
9
9
  * 提取枚举对象中的枚举值
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceale/util",
3
- "version": "1.21.0",
3
+ "version": "1.21.1",
4
4
  "author": "Ceale",
5
5
  "description": "小工具集",
6
6
  "repository": {