Hacker News new | ask | show | jobs
by jakelazaroff 2136 days ago
I’m not sure what you mean. My library has a `TypeOf` type that lets you extract static type information from validation functions. And calling `toUpperCase` on undefined already results in a TypeError.