Tagged

#typescript

10 posts

  1. TypeScript config files with type-aware ESLint

    How to keep *.config.ts files in TypeScript without breaking your lint setup

    #typescript#eslint#tooling#vite
  2. Your IDs need better DX

    They can be sortable, selectable, distinguishable, and type safe.

    #utility#typescript#db
  3. How to stop using so many optional properties in your React TypeScript props

    Using TypeScript unions to define relationships between props

    #typescript#react#tutorial
  4. Death to Default Exports!

    Why you should go right now and delete every "default" from your codebase

    #javascript#typescript#exports#react#opinion
  5. When to use each JavaScript iteration method

    And a practical guide to the reduce() function

    #javascript#typescript#react
  6. How to test TypeScript type definitions with Jest

    You can add tests for your static TS types right next to your regular Jest tests

    #typescript#jest#testing#tutorial
  7. Strongly typing a React "component" prop

    Allowing customization of the root node of a React component & maintaining correct prop typing

    #react#typescript
  8. How to get started with Azure Functions in Node.js

    What I've learned from my confusing initial experience setting up Azure Functions in JavaScript

    #azure#nodejs#javascript#typescript#tutorial