@waiting/shared-types
Advanced tools
Comparing version 8.5.0 to 8.5.1
@@ -6,2 +6,10 @@ # Change Log | ||
## 8.5.1 (2021-04-25) | ||
**Note:** Version bump only for package @waiting/shared-types | ||
# 8.5.0 (2021-04-01) | ||
@@ -8,0 +16,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 8.4.2 | ||
* @version 8.5.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ | ||
export {}; |
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ | ||
export {}; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "8.5.0", | ||
"version": "8.5.1", | ||
"description": "shared typescript types", | ||
@@ -83,3 +83,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "549ed7baf8e02c0ac1fc039f2d22a9b1349b75bf" | ||
"gitHead": "3333bb6cb91974a49cb42d03769d20ce54035e77" | ||
} |
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ | ||
@@ -130,3 +131,3 @@ import { OverwriteNeverToUnknown, FormatIntersect, KnownKeys } from '../common' | ||
}, | ||
// @ts-expect-error | ||
// @ts-ignore | ||
KnownKeys<L> | KnownKeys<R> | ||
@@ -154,3 +155,3 @@ > | ||
> | ||
// @ts-expect-error | ||
// @ts-ignore | ||
type _JoinTableDistinct<R> = Pick<R, KnownKeys<R>> | ||
@@ -157,0 +158,0 @@ |
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ | ||
// ref: https://github.com/microsoft/TypeScript/pull/40336#issuecomment-684122600 | ||
type V = string | number | boolean | bigint | ||
@@ -12,7 +12,8 @@ export type StrSplit<S extends string, D extends string> = | ||
type V = string | number | boolean | bigint | ||
export type TupleJoin<T extends V[], D extends string> = | ||
T extends [] ? '' : | ||
// @ts-expect-error | ||
T extends [unknown] ? `${T[0]}`: | ||
// @ts-expect-error | ||
// @ts-ignore | ||
T extends [unknown] ? `${T[0]}` : | ||
// @ts-ignore | ||
T extends [unknown, ...infer U] ? `${T[0]}${D}${TupleJoin<U, D>}` : | ||
@@ -19,0 +20,0 @@ string |
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
43415
850