3 ms·
TypeScript is a structurally typed language on purpose. But even then nominal features already exist that would have solved this problem much more elegantly. Su
by culi 2y ago
TypeScript is a structurally typed language on purpose. But even then nominal features already exist that would have solved this problem much more elegantly. Such as `unique symbol`
https://www.typescriptlang.org/docs/handbook/symbols.html#unique-symbol https://www.typescriptlang.org/docs/handbook/symbols.html#un...
- mattstir 2y agoDid you... read the article?