Suppose you wanted to model http hosts with newtypes. One way you might do it is like this. The only problem is that when generating declaration files, TypeScript balks.
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.