@waiting/shared-types
Advanced tools
Comparing version 16.1.0 to 16.2.0
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 16.0.0 | ||
* @version 16.1.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -1,3 +0,3 @@ | ||
export declare type TrimStart<T extends string> = T extends ` ${infer Rest}` ? TrimStart<Rest> : T; | ||
export declare type TrimEnd<T extends string> = T extends `${infer Rest} ` ? TrimEnd<Rest> : T; | ||
export declare type Trim<T extends string> = TrimStart<TrimEnd<T>>; | ||
export declare type TrimStart<T extends string, K extends string = ' '> = T extends `${K}${infer Rest}` ? TrimStart<Rest, K> : T; | ||
export declare type TrimEnd<T extends string, K extends string = ' '> = T extends `${infer Rest}${K}` ? TrimEnd<Rest, K> : T; | ||
export declare type Trim<T extends string, K extends string = ' '> = TrimStart<TrimEnd<T, K>, K>; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "16.1.0", | ||
"version": "16.2.0", | ||
"description": "shared typescript types", | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "37d24628d2fb00d09dd0749b81c4c282d13088b2" | ||
"gitHead": "4f81c31dd92338c769991997b194cb541b15aa50" | ||
} |
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
24504