helpertypes
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -78,3 +78,3 @@ /** | ||
*/ | ||
declare type PartialDeep<T, MaxDepth extends number = 10, CurrentDepth extends number = 0> = CurrentDepth extends MaxDepth ? T : T extends IgnoredLookupValue ? T : T extends (infer ArrayElement)[] ? PartialDeep<ArrayElement, MaxDepth, Next<CurrentDepth>>[] : T extends readonly (infer ReadonlyArrayElement)[] ? readonly PartialDeep<ReadonlyArrayElement, MaxDepth, Next<CurrentDepth>>[] : T extends Iterable<infer IterableType> ? Iterable<PartialDeep<IterableType, MaxDepth, Next<CurrentDepth>>> : { | ||
export declare type PartialDeep<T, MaxDepth extends number = 10, CurrentDepth extends number = 0> = CurrentDepth extends MaxDepth ? T : T extends IgnoredLookupValue ? T : T extends (infer ArrayElement)[] ? PartialDeep<ArrayElement, MaxDepth, Next<CurrentDepth>>[] : T extends readonly (infer ReadonlyArrayElement)[] ? readonly PartialDeep<ReadonlyArrayElement, MaxDepth, Next<CurrentDepth>>[] : T extends Iterable<infer IterableType> ? Iterable<PartialDeep<IterableType, MaxDepth, Next<CurrentDepth>>> : { | ||
[P in keyof T]?: PartialDeep<T[P], MaxDepth, Next<CurrentDepth>>; | ||
@@ -388,3 +388,2 @@ }; | ||
export declare type IgnoredLookupValue = string | number | bigint | symbol | boolean | undefined | null | Date | RegExp | CallableFunction | Set<unknown> | WeakSet<never> | Map<unknown, unknown> | WeakMap<never, unknown>; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "helpertypes", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A collection of TypeScript helper types", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
31938
391