A 'CSS reset' for TypeScript, improving types for common JavaScript API's

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • ts-reset

    A 'CSS reset' for TypeScript, improving types for common JavaScript API's

    Reading https://github.com/total-typescript/ts-reset/blob/main/src/e..., I'm more confused than before. The generic NonFalsy[] looks to me like it should evaluate to never[] if the entire array is false, and to T[] (the original array type, not narrowed) otherwise. But I can see that the test case demonstrates that it works. What am I missing?

  • zod

    TypeScript-first schema validation with static type inference

    You can safely cast an `unknown` to a desired type with a runtime check from a library like Zod (https://zod.dev/). The `unknown` makes sure you don’t forget a check.

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • salesforcecontactmapper

    For example, how can I do this better?


    import { Output } from "./Output";

  • JSDoc

    An API documentation generator for JavaScript.

    > You can import types now

    When using TypeScript to avoid using TypeScript, yeah. It's not valid JSDoc: https://github.com/jsdoc/jsdoc/issues/1645

  • TypeScript

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

    The Boolean one at least is pretty longstanding: https://github.com/microsoft/TypeScript/issues/16655

    I imagine there are a lot of edge cases to wade through before mainlining.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

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