@airpower/enum 0.0.7 → 0.0.8

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.
@@ -8,9 +8,9 @@ export interface IEnum<K extends EnumKey = number> {
8
8
  /**
9
9
  * ### 字典的值
10
10
  */
11
- readonly key: K;
11
+ key: K;
12
12
  /**
13
13
  * ### 字典的显示标题
14
14
  */
15
- readonly label?: string;
15
+ label?: string;
16
16
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/enum",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "description": "AirPower-Enum 是一个基于 TypeScript 的封装的类似 Java 枚举类的枚举字典处理工具。",
6
6
  "author": {
7
7
  "name": "Hamm",