Today we are excited to announce the availability of TypeScript 5.6 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.6!
One pet peeve of mine is testing libraries having toBeTruthy/toBeFalsy matchers, but not toBeTrue and toBeFalse. I get that the latter are no shorter than toBe(true), but if the former are listed in the docs, then people who don’t know the terminology will use those - I’ve seen (past) coworkers do that.
One pet peeve of mine is testing libraries having
toBeTruthy
/toBeFalsy
matchers, but nottoBeTrue
andtoBeFalse
. I get that the latter are no shorter thantoBe(true)
, but if the former are listed in the docs, then people who don’t know the terminology will use those - I’ve seen (past) coworkers do that.