@trezor/utils
Advanced tools
Comparing version 9.2.5 to 9.2.6-beta.1
@@ -1,2 +0,2 @@ | ||
type TAllKeys<T> = T extends any ? keyof T : never; | ||
import { Keys } from '@trezor/type-utils'; | ||
type TIndexValue<T, K extends PropertyKey, D = never> = T extends any ? K extends keyof T ? T[K] : D : never; | ||
@@ -11,3 +11,3 @@ type TPartialKeys<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>> extends infer O ? { | ||
} : [T] extends [TPrimitives] ? T : [T] extends [object] ? TPartialKeys<{ | ||
[K in TAllKeys<T>]: TMerged<TIndexValue<T, K>>; | ||
[K in Keys<T>]: TMerged<TIndexValue<T, K>>; | ||
}, never> : T; | ||
@@ -14,0 +14,0 @@ interface IObject { |
{ | ||
"name": "@trezor/utils", | ||
"version": "9.2.5", | ||
"version": "9.2.6-beta.1", | ||
"author": "Trezor <info@trezor.io>", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/utils", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
69988
1