@opencreek/ext
Advanced tools
Comparing version 2.7.4--canary.37.8708724432.0 to 2.7.4--canary.37.8709106225.0
@@ -10,4 +10,4 @@ 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: Partial<Record<K, T>>): ObjectChain<K, T, Partial<Record<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>; | ||
export declare function objChain<_K extends string | number | symbol, _T>(value: undefined | null): undefined; | ||
@@ -14,0 +14,0 @@ export declare function objChain<K extends string | number | symbol, T>(value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]> | undefined | null): ObjectChain<K, T> | undefined; |
{ | ||
"name": "@opencreek/ext", | ||
"version": "2.7.4--canary.37.8708724432.0", | ||
"version": "2.7.4--canary.37.8709106225.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -46,7 +46,7 @@ import { | ||
export function objChain<K extends string | number | symbol, T>( | ||
value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]>, | ||
): ObjectChain<K, T> | ||
export function objChain<K extends string | number | symbol, T>( | ||
value: Partial<Record<K, T>>, | ||
): ObjectChain<K, T, Partial<Record<K, T>>> | ||
export function objChain<K extends string | number | symbol, T>( | ||
value: Record<K, T> | ObjectChain<K, T> | Chain<readonly [K, T]>, | ||
): ObjectChain<K, T> | ||
export function objChain<_K extends string | number | symbol, _T>( | ||
@@ -53,0 +53,0 @@ value: undefined | null, |
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