Re:Show HN: A SQL database implemented purely in TypeScript ...
by dllthomas on Monday September 28, 2020 @04:46PM
(#24621039)
Not dumb, you answered the question I asked :D
But yeah, I agree that duplicating the intersection produces another interesting question.
In any case, "convenient approximation of row types" probably still applies to TS more than Haskell. And possibly also "more convenient row types", but that remains TBD.
EDIT: I may be being dumb. You could probably fix this by adding an intersection type again on the right-hand side. I think there was something else I was missing from TS, but I'll have to noodle on it a bit more.