809
you are viewing a single comment's thread
view the rest of the comments
[-] ShroOmeric@lemmy.world 25 points 1 year ago

I swear to god, sometimes I really don't know what Typescript really wants from me. It's like some old god: you know it needs a sacrifice but the god is not telling you exactly what he wants. So you can only try and pray.

[-] MashedTech@lemmy.world 19 points 1 year ago

Idk, I find it pretty easy to understand

[-] herrvogel@lemmy.world 12 points 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 9 points 1 year ago* (last edited 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".

[-] traches@sh.itjust.works 4 points 1 year ago

Typescript got a lot easier for me when I stopped even trying to read the error messages

this post was submitted on 14 Nov 2023
809 points (94.6% liked)

Programmer Humor

32576 readers
724 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS