Is there a better way to do read-only types

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • purescript

    A strongly-typed language that compiles to JavaScript

  • Unless you want to switch to https://www.purescript.org/.

  • Immer

    Create the next immutable state by mutating the current one

  • If you're trying to make things actually immutable, Object.freeze and deep copies can clutter things up pretty good, have you considered using something like immer? (https://immerjs.github.io/immer/)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • type-fest

    A collection of essential TypeScript types

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