DEV Community

YCM Jason
YCM Jason

Posted on

Advanced Typescript: Typing Partially Applicable Functions

Liquid syntax error: Unknown tag 'endraw'

Top comments (2)

Collapse
 
tylim88 profile image
Acid Coder

cool stuffs!

Collapse
 
the_one profile image
Roland Doda

That's some really ugly code! There is gotta be a better way to do these things in the future aiming to get what TypeScript gives us without having to write this type of code.

I have written some complex types with TS and it's funny how the following joke became a reality:

When I wrote this code a couple of months ago, only God and I knew what is going on. Now, only God knows.