re: Why TypeScript is a better option than JavaScript when it comes to functional programming? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: When I write libraries meant to be imported in other projects I usually write type definition files for the public interface, since some typing is ...
 

Typescript doesn't have algebraic data types? It has type unions and intersections. What else does it need to qualify?

Totally agree pattern matching would be awesome though.

code of conduct - report abuse