Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why doesn't TypeScript properly type Object.keys?. Parent comment
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.
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.