Hacker News new | ask | show | jobs
by kuramitropolis 1353 days ago
And then you have to contribute to a codebase with restrictive ESLint (bleurgh!) configuration, so you can't even try out whether your code works because the tooling disallows you from compiling it as long as it contains "any", and the other devs are like "but muh best practices". So not only you gotta work around TS, you gotta do it invisibly. How did people even live before VSCode's type hint popups covered up the previous line?
2 comments

> How did people even live before VSCode's type hint popups covered up the previous line?

Same. Like normal people do when they use Visual Studio/IntelliJ/QTCreator

I.e. cringing all the time?
Cringing at compile time safety or what?
No, cringing at some "helpful" popup appearing right over the previous line of code. If anything, they could've made it appear under the current line; code's still written top to bottom so it's less likely for "suggested relevant info" to obscure the actual relevant info.
You can press f8 to view the problem in a "peek view" under the problem line, or view on the problems panel.
> 10542667 Aug 9 20:40 node_modules/typescript/lib/typescript.js

aint fitting ten megs in a peek view... :(

This comment has just triggered my PTSD from every Typescript project I've had to work on.