@magnetarjs/types
Advanced tools
Comparing version 0.14.3 to 0.15.0
@@ -80,5 +80,5 @@ import { Merge } from 'merge-anything'; | ||
*/ | ||
type OPathsWithOptional<T, D extends number = 10> = [D] extends [never] ? never : T extends Record<string, any> ? { | ||
type OPathsWithOptional<T, D extends number = 10> = [D] extends [never] ? never : T extends Record<string, any> ? Exclude<{ | ||
[K in keyof T]: K extends string ? `${K}` | Join<K, OPathsWithOptional<T[K], Prev[D]>> : never; | ||
}[keyof T] : ''; | ||
}[keyof T], undefined> : ''; | ||
/** | ||
@@ -85,0 +85,0 @@ * All possible Object Paths, but only the leaves |
{ | ||
"name": "@magnetarjs/types", | ||
"version": "0.14.3", | ||
"version": "0.15.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "Magnetar shared types", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58177