@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.
- package/dist/index.d.ts +1 -1
- 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
|
}
|