1 points · by steen_hansen · 4y ago · 1 comment
At first I thought that I would be confined to type checking plain JavaScript functions, but I managed to handle constructors and methods inside classes, closures, and IIFEs. Thus TypeCzech was born with an odd but unique searchable name.
Why you might want to use: - Type signtures are JavaScript strings, arrays, and objects; thus can be constants - No complilation, no dependencies, no new syntax, easy to decouple - Throw exceptions or just console.log errors
More live examples than you can shake a stick at at https://jsfiddle.net/steen_hansen/1Lshcept/?Example-Contents