Our great sponsors
-
Hello, This is a use case for tsafe, a utility that let you make assertions on types.
-
Or use ts-patten it's comming to Deno soon (thanks to Denoify).
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
denoify
🦕For NPM module authors that would like to support Deno but do not want to write and maintain a port.
Or use ts-patten it's comming to Deno soon (thanks to Denoify).
-
The correct answer is actually rescript
-
If you want a real-world use case you can consider this function, it has a very opaque and complex return type that is inferred from the input it receives. Having type-level unit test for this function is very useful both for ensuring the return type is inferred correctly and as an implicit documentation.
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)