what is the point in optional when i can still create an object with a null on it?

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • io-ts

    Runtime type system for IO decoding/encoding

    Yeah, Typescript does not get you runtime validation, but that is usually only needed at the boundaries of your app (e.g., API responses, user input.) There are libraries that will help you do this, like io-ts.

  • awesome-jsonschema

    A curated list of awesome JSON Schema resources, tutorials, tools, and more.

    The other problem you're noticing is that JSON does not support typechecking/validation. There are other specs that attempt to add it, and libraries that will let you specify schemas like JSON schema

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

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