1.0.5 • Published 2 years ago

type-custom v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago