1.0.5 • Published 2 years ago
type-custom v1.0.5
Type Custom
The most complete typescript lib
Any
Assert
- Guarantees that a given type extends another
List
Join
- Concatenates all items of a list into a single textMap
- Iterates a list with a custom genericReverse
- Reverses a list
Object
String
Split
- Breaks a text into pieces by a delimiter
Union
Soon
Generic
Custom type execution in a more powerful way
// Prints 'c-b-a'
type Computed = Chain<'abc', [
Split.Custom<''>,
Reverse.Custom,
Join.Custom<'-'>,
]>;