ts-toolbelt
Advanced tools
Comparing version 9.3.0 to 9.3.1-test.1612289204883
/** @ignore */ /** */ | ||
export {}; | ||
export { At } from './At'; | ||
export { Join } from './Join'; | ||
export { Length } from './Length'; | ||
export { Replace } from './Replace'; | ||
export { Split } from './Split'; |
@@ -1,9 +0,8 @@ | ||
declare type _Split<S extends string, D extends string, T extends string[] = []> = S extends `${infer BS}${D}${infer AS}` ? _Split<AS, D, [...T, BS]> : [...T, S]; | ||
declare type _Split<S extends string, D extends string, T extends string[] = []> = S extends '' ? T : S extends `${infer BS}${D}${infer AS}` ? _Split<AS, D, [...T, BS]> : [...T, S]; | ||
/** | ||
* Replace `R` with `W` in `S` | ||
* @param S | ||
* @param R | ||
* @param W | ||
* Split `S` by `D` into a [[List]] | ||
* @param S to split up | ||
* @param D to split at | ||
*/ | ||
export declare type Split<S extends string, D extends string> = S extends '' ? [] : string extends S ? string[] : _Split<S, D>; | ||
export declare type Split<S extends string, D extends string = ''> = _Split<S, D>; | ||
export {}; |
{ | ||
"name": "ts-toolbelt", | ||
"version": "9.3.0", | ||
"version": "9.3.1-test.1612289204883", | ||
"description": "TypeScript's largest utility library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1977254
243
5955
1