Socket
Socket
Sign inDemoInstall

@shopify/useful-types

Package Overview
Dependencies
Maintainers
19
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/useful-types - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1-address-mocks-minified-beta.0

4

build/ts/types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc