• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

playground for type-level primitives in TypeScript

Typical

Typical is a playground of type-level operations for TypeScript. It is mostly experimental and not ready to use yet. For a lib usable today, try one of the other type libraries.

Docs

Background?

Typical has had a long-term focus, exploring what we can do with types. The end goal is to enable type-safe functional programming with e.g. ramda and partial lenses. Existing typings provide some level of type safety, but not enough. Front-end engineering is a royal pain, and functional libraries would save us given proper type inference.

Contributing

These can be rerun with npm test.

Similar projects

  • ts-toolbelt, a more mature type lib
  • type-zoo, a modest type lib usable today
  • typelevel-ts, a type lib by @gcanti, author of several FP libs in TS
  • typepark, a new type collection offering tuple manipulation and Pipe
  • type-plus, additional types and types adjusted utilities for TS