Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
danhab99@programming.dev to TypeScript@programming.dev · 2 years ago

Typescript is implementing a using keyword

www.totaltypescript.com

external-link
message-square
5
fedilink
  • cross-posted to:
  • tech@kbin.social
  • technews@radiation.party
20
external-link

Typescript is implementing a using keyword

www.totaltypescript.com

danhab99@programming.dev to TypeScript@programming.dev · 2 years ago
message-square
5
fedilink
  • cross-posted to:
  • tech@kbin.social
  • technews@radiation.party
TypeScript 5.2's New Keyword: 'using'
www.totaltypescript.com
external-link
TypeScript 5.2 introduces 'using', a keyword that disposes anything with a `Symbol.dispose` function upon leaving scope, making resource management easier.
  • burkybang@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    This comment sounds like you’re having a stroke if we didn’t know the context.

TypeScript@programming.dev

typescript@programming.dev

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: !typescript@programming.dev
Visibility: Public
globe

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

  • 1 user / day
  • 4 users / week
  • 6 users / month
  • 50 users / 6 months
  • 2 local subscribers
  • 1.03K subscribers
  • 70 Posts
  • 85 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Thomas@lemmy.douwes.co.uk
  • Ategon@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org