• herrvogel@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      The "return type <5 paragraphs of various word salads> is not compatible with " error messages are anything but easy to understand in my opinion.

      • gornius@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        1 year ago

        Yeah I don’t get why it spits out whole types instead of only differences between them. Like “function expects non-null ‘some.param.in.object’ of type ‘string’ in argument ‘someArgument’, which is missing in passed argument”.