@chocbite/ts-lib-state 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -262,7 +262,7 @@ type EnumHelperEntry = {
262
262
  type StateEnumHelperList<K extends PropertyKey> = {
263
263
  [P in K]: EnumHelperEntry;
264
264
  };
265
- interface StateEnumRelated<L extends StateEnumHelperList<any>> extends StateRelatedBase {
265
+ interface StateEnumRelated<L extends StateEnumHelperList<any> = StateEnumHelperList<any>> extends StateRelatedBase {
266
266
  list: State<L>;
267
267
  map<K extends keyof L, R>(func: (key: K, val: EnumHelperEntry) => R): Promise<R[]>;
268
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chocbite/ts-lib-state",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "State management library for TypeScript",
5
5
  "author": "chocolateandmilkwin",
6
6
  "license": "MIT",