@waiting/shared-types
Advanced tools
Comparing version 23.13.0 to 23.16.0
@@ -29,3 +29,3 @@ /** Get the first element */ | ||
export type isInLiteralTuple<T extends (string | number | symbol)[], K extends string | number | symbol> = [Extract<T[number], K>] extends [never] ? false : true; | ||
export type TupleToUnion<T extends unknown[]> = T[number]; | ||
export type TupleToUnion<T extends any[]> = T[number]; | ||
export type Reverse<Tuple extends any[]> = Reverse_<Tuple, []>; | ||
@@ -32,0 +32,0 @@ type Reverse_<Tuple extends any[], Result extends any[]> = { |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "23.13.0", | ||
"version": "23.16.0", | ||
"description": "shared typescript types", | ||
@@ -70,3 +70,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "ddbb204bc43beb1926179b50eb9d9fb73c0da3ba" | ||
"gitHead": "ffe0fc0eb9a7803af6e79a43f5cdabc598197226" | ||
} |
@@ -54,3 +54,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export type TupleToUnion<T extends unknown[]> = T[number] | ||
export type TupleToUnion<T extends any[]> = T[number] | ||
@@ -57,0 +57,0 @@ |
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
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
76633