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

typescript-tuple

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-tuple - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

lib/utils.d.ts

@@ -95,3 +95,3 @@ import { Extends, Equal } from 'typescript-compare';

nonEmpty: ((..._: Reverse<Types>) => any) extends ((_: infer Last, ..._1: infer ReversedRest) => any) ? SingleTupleSet<Reverse<ReversedRest>, Prepend<Holder, [Last]>> : never;
infinite: SplitInfiniteTuple<Types> extends [infer Finite, infer Infinite] ? Finite extends any[] ? Infinite extends (infer RepeatedElement)[] ? SingleTupleSet<Finite, [RepeatedElement][]> : never : never : never;
infinite: SplitInfiniteTuple<Types> extends [infer Finite, infer Infinite] ? Finite extends any[] ? Infinite extends Array<infer RepeatedElement> ? SingleTupleSet<Finite, [RepeatedElement][]> : never : never : never;
}[Types extends [] ? 'empty' : IsFinite<Types, 'nonEmpty', 'infinite'>];

@@ -98,0 +98,0 @@ export declare type FillTuple<Tuple extends any[], Replacement, Holder extends any[] = []> = {

{
"name": "typescript-tuple",
"version": "2.2.0",
"version": "2.2.1",
"description": "Generics to work with tuples in TypeScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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