@empathyco/x-utils
Advanced tools
Comparing version 0.1.0-alpha.9 to 0.1.0-alpha.10
{ | ||
"name": "@empathyco/x-utils", | ||
"version": "0.1.0-alpha.9", | ||
"version": "0.1.0-alpha.10", | ||
"description": "A utility package for Empathy search", | ||
@@ -45,3 +45,3 @@ "author": "Empathy Systems Corporation S.L.", | ||
}, | ||
"gitHead": "ea3188a8ed192359c9f64137a1e8065d8908f46d" | ||
"gitHead": "a86f21da6184641d79a87fb3baf29fa2b6dd6dd5" | ||
} |
@@ -88,4 +88,4 @@ import { Keys, Primitive } from './utils.types'; | ||
export declare type ExtractPathByType<SomeObject, Type> = keyof { | ||
[Path in ExtractPath<SomeObject> as ExtractType<SomeObject, Path> extends (infer ArrayType)[] ? ArrayType extends Type ? `${Path}.${number}` : never : ExtractType<SomeObject, Path> extends Type ? Path : never]: any; | ||
[Path in ExtractPath<SomeObject> as ExtractType<SomeObject, Path> extends (infer ArrayType)[] ? ArrayType extends Type ? `${Path}.${number}` : Type extends (infer TargetArrayType)[] ? TargetArrayType extends ArrayType ? Path : never : never : ExtractType<SomeObject, Path> extends Type ? Path : never]: any; | ||
}; | ||
export {}; |
Sorry, the diff of this file is not supported yet
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
67229
623