• tyler@programming.dev
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    8 months ago

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

    • ris@feddit.de
      link
      fedilink
      arrow-up
      16
      ·
      8 months ago

      I have seen image recognition or text RPGs with type script types, but const ok:true = true as Grid< 4, 9, 2 Wtf

    • Meltrax@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

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