• GissaMittJobb@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    This doesn’t actually read as serious TypeScript, moreso as someone trying to showcase unhinged code.

    I’d be happy to be proven wrong with a link to the source code so that I can look the beast in the eye.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Take a look at some typescript libraries and frameworks and you will see stuff like this. Completely unreadable mess.

      • Meltrax@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        Styled Components’ type system is one of the most impressive and most fucked up things I’ve ever had to dive into.