Imageprogramming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Imagecodeinabox to ImageTypeScriptEnglish · 3 months ago

Omit for Discriminated Unions in TypeScript

tkdodo.eu

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

Omit for Discriminated Unions in TypeScript

tkdodo.eu

Imagecodeinabox to ImageTypeScriptEnglish · 3 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.

Image
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.

  • 3 users / day
  • 3 users / week
  • 16 users / month
  • 69 users / 6 months
  • 379 local subscribers
  • 1.08K subscribers
  • 98 Posts
  • 92 Comments
  • Modlog
  • mods:
  • Imagesnowe
  • ImageThomas@lemmy.douwes.co.uk
  • ImageAtegon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org
Advertisement