programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox to TypeScriptEnglish · 2 months ago

Omit for Discriminated Unions in TypeScript

tkdodo.eu

external-link
message-square
0
link
fedilink
7
external-link

Omit for Discriminated Unions in TypeScript

tkdodo.eu

codeinabox to TypeScriptEnglish · 2 months ago
message-square
0
link
fedilink
Why TypeScript’s built-in Omit breaks discriminated unions, and how a distributive version preserves them.
alert-triangle
You must log in or # to comment.

TypeScript

typescript

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 9 users / week
  • 18 users / month
  • 84 users / 6 months
  • 377 local subscribers
  • 1.07K subscribers
  • 94 Posts
  • 92 Comments
  • Modlog
  • mods:
  • snowe
  • Thomas@lemmy.douwes.co.uk
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org