Skip to content

nneutrinno/type-custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 text
  • Map - Iterates a list with a custom generic
  • Reverse - Reverses a list

Object

  • Get - Obtains a property of an object without warnings
  • ValueOf - Get all values of an object/list

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<'-'>,
]>;

About

The most complete typescript lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published