Is it possible to give utility types as arguments to other utlities?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/typescript

Our great sponsors
  • Klotho - AWS Cloud-aware infrastructure-from-code toolbox [NEW]
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean JavaScript Code. Always.
  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    What you're looking for is called Higher Kinded Types. here is the TypeScript issue discussing it. An implementation can be found in fp-ts, but can end up getting fairly verbose if you want implementations for various generic counts. This issue for fp-ts is also a very good discussion about other implementations which you can likely pull some code from if it suits your use-case.

  • fp-ts

    Functional programming in TypeScript

    What you're looking for is called Higher Kinded Types. here is the TypeScript issue discussing it. An implementation can be found in fp-ts, but can end up getting fairly verbose if you want implementations for various generic counts. This issue for fp-ts is also a very good discussion about other implementations which you can likely pull some code from if it suits your use-case.

  • Klotho

    AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts