Y
Hacker News
new
|
ask
|
show
|
jobs
by
henriks
1706 days ago
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....