News for hackers. Stuff that matters.
Re:Why doesn't TypeScript properly type Object.keys? by mirekrusin on Saturday June 24, 2023 @03:02PM (#36461697)
To extend on it a bit, flow has really good story with:

1. nominal types for classes (with correct variance/liskov substitution principles)

2. structural types for the rest

3. explicit annotation for exact structural types

This setup is brilliant.

There are no comments on this comment yet.