@d4l/collect-lib 1.14.0 → 1.14.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.
package/dist/index.d.mts CHANGED
@@ -536,7 +536,7 @@ type RecursiveKeyOf<TObj extends object> = {
536
536
  type RecursiveKeyOfInner<TObj extends object> = {
537
537
  [TKey in keyof TObj & (string | number)]: RecursiveKeyOfHandleValue<TObj[TKey], `.${TKey}`>;
538
538
  }[keyof TObj & (string | number)];
539
- type RecursiveKeyOfHandleValue<TValue, Text extends string> = TValue extends Function ? undefined : TValue extends any[] ? Text | `${Text}.${number}` | `${Text}.${number}${RecursiveKeyOfInner<TValue[0]>}` : TValue extends object ? Text | `${Text}${RecursiveKeyOfInner<TValue>}` : Text;
539
+ type RecursiveKeyOfHandleValue<TValue, Text extends string> = TValue extends Function ? never : TValue extends any[] ? Text | `${Text}.${number}` | `${Text}.${number}${RecursiveKeyOfInner<TValue[0]>}` : TValue extends object ? Text | `${Text}${RecursiveKeyOfInner<TValue>}` : Text;
540
540
 
541
541
  declare function toDeviceConfig(devices: ProgramDevice[]): DeviceConfig[];
542
542
 
package/dist/index.d.ts CHANGED
@@ -536,7 +536,7 @@ type RecursiveKeyOf<TObj extends object> = {
536
536
  type RecursiveKeyOfInner<TObj extends object> = {
537
537
  [TKey in keyof TObj & (string | number)]: RecursiveKeyOfHandleValue<TObj[TKey], `.${TKey}`>;
538
538
  }[keyof TObj & (string | number)];
539
- type RecursiveKeyOfHandleValue<TValue, Text extends string> = TValue extends Function ? undefined : TValue extends any[] ? Text | `${Text}.${number}` | `${Text}.${number}${RecursiveKeyOfInner<TValue[0]>}` : TValue extends object ? Text | `${Text}${RecursiveKeyOfInner<TValue>}` : Text;
539
+ type RecursiveKeyOfHandleValue<TValue, Text extends string> = TValue extends Function ? never : TValue extends any[] ? Text | `${Text}.${number}` | `${Text}.${number}${RecursiveKeyOfInner<TValue[0]>}` : TValue extends object ? Text | `${Text}${RecursiveKeyOfInner<TValue>}` : Text;
540
540
 
541
541
  declare function toDeviceConfig(devices: ProgramDevice[]): DeviceConfig[];
542
542
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d4l/collect-lib",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",