Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More →
Socket
Sign inDemoInstall
Socket

@waiting/shared-types

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-types - npm Package Compare versions

Comparing version 20.2.0 to 20.4.0

1

dist/lib/tuple.d.ts

@@ -5,2 +5,3 @@ /** Get the first element */

export declare type TupleTail<T extends unknown[]> = T extends [] ? [] : T extends [unknown] ? [] : T extends [unknown, ...infer U] ? U : unknown[];
export declare type TupleShift<T extends unknown[]> = TupleTail<T>;
/** Get the last element */

@@ -7,0 +8,0 @@ export declare type TupleLast<T extends any[]> = T[TupleTail<T>['length']];

4

package.json
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "20.2.0",
"version": "20.4.0",
"description": "shared typescript types",

@@ -66,3 +66,3 @@ "keywords": [

},
"gitHead": "29a16033633f6d2de6e62deed11e96a76a1a0508"
"gitHead": "2c118f644ff9d29a953f836f4bc530836e478eb3"
}

@@ -15,2 +15,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

export type TupleShift<T extends unknown[]> = TupleTail<T>
/** Get the last element */

@@ -17,0 +19,0 @@ export type TupleLast<T extends any[]> = T[TupleTail<T>['length']]

Sorry, the diff of this file is not supported yet

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