paneron / extension-smart

MIT License
2 stars 2 forks source link

Go through all types and convert to intersectional type + brand when appropriate #86

Open ribose-jeffreylau opened 2 years ago

ribose-jeffreylau commented 2 years ago

For example, string should really be something like ID in certain cases.

This helps disambiguating the code base.

See: https://michalzalecki.com/nominal-typing-in-typescript/