Re:Show HN: A SQL database implemented purely in TypeScript ...
by williamdclt on Monday September 28, 2020 @10:06AM
(#24616712)
For anybody interested in this technique: the googleable term is "branding". It's bringing some nominal typing into TS's structural typing
[ Parent
| on HN ]
Re:Show HN: A SQL database implemented purely in TypeScript ...
by phpnode on Monday September 28, 2020 @10:08AM
(#24616745)
I wrote an article about this a while ago: https://codemix.com/opaque-types-in-javascript