@opencreek/ext
Advanced tools
Comparing version 2.7.4--canary.37.8709106225.0 to 2.7.4--canary.37.8709145840.0
@@ -10,3 +10,3 @@ type PairSplit<T> = T extends [infer F, infer L] ? [Chain<F>, Chain<L>] : never; | ||
} ? Chain<U> : Chain<T>; | ||
export declare function objChain<K extends string | number | symbol, T>(value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]>): ObjectChain<K, T>; | ||
export declare function objChain<K extends string | number | symbol, T>(value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]>): ObjectChain<K, T, Record<K, T>>; | ||
export declare function objChain<K extends string | number | symbol, T>(value: Partial<Record<K, T>>): ObjectChain<K, T, Partial<Record<K, T>>>; | ||
@@ -13,0 +13,0 @@ export declare function objChain<_K extends string | number | symbol, _T>(value: undefined | null): undefined; |
{ | ||
"name": "@opencreek/ext", | ||
"version": "2.7.4--canary.37.8709106225.0", | ||
"version": "2.7.4--canary.37.8709145840.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -47,3 +47,3 @@ import { | ||
value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]>, | ||
): ObjectChain<K, T> | ||
): ObjectChain<K, T, Record<K, T>> | ||
export function objChain<K extends string | number | symbol, T>( | ||
@@ -50,0 +50,0 @@ value: Partial<Record<K, T>>, |
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
239743