@shopify/useful-types
Advanced tools
Comparing version 3.0.0 to 3.0.1-address-mocks-minified-beta.0
@@ -6,6 +6,6 @@ export declare type ThenType<T> = T extends Promise<infer U> ? U : T; | ||
export declare type MaybeFunctionReturnType<T> = T extends (...args: any[]) => infer U ? U : never; | ||
export declare type ArrayElement<T> = T extends Array<infer U> ? U : never; | ||
export declare type ArrayElement<T> = T extends (infer U)[] ? U : never; | ||
export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; | ||
export declare type DeepPartial<T> = { | ||
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>; | ||
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>; | ||
}; | ||
@@ -12,0 +12,0 @@ export declare type IfEmptyObject<Obj, If, Else = never> = keyof Obj extends { |
{ | ||
"name": "@shopify/useful-types", | ||
"version": "3.0.0", | ||
"version": "3.0.1-address-mocks-minified-beta.0", | ||
"license": "MIT", | ||
@@ -44,3 +44,3 @@ "description": "A few handy TypeScript types", | ||
}, | ||
"gitHead": "40de4af181104f298cbab42d2d3d68e228a9a31a" | ||
"gitHead": "1a19759d10db9ca65d346141b10e7b0654e023e6" | ||
} |
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
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
15952
1