Today we are excited to announce the availability of TypeScript 5.2 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescript@beta Here’s a quick list of what’s new in TypeScript 5.2!
Though naming the disposable that you never use is a little weird.
Usually you will use the disposable value, as it’ll have some other methods. In cases where you don’t, it’s often for something like locking/unlocking a resource.
‘using’ is pretty interesting, seems like it would make disposables easier to use. Though naming the disposable that you never use is a little weird.
Usually you will use the disposable value, as it’ll have some other methods. In cases where you don’t, it’s often for something like locking/unlocking a resource.