News for hackers. Stuff that matters.
Re:Tricks I wish I knew when I learned TypeScript by henriks on Tuesday October 12, 2021 @07:52AM (#28838622)
One detail I stumbled upon the other day is that interfaces can use the `this` keyword to refer to the type implementing the interface. This isn't supported for types afaik.

https://www.typescriptlang.org/docs/handbook/advanced-types....

There are no comments on this comment yet.