ABC123itsEASY@lemmy.worldtoAsklemmy@lemmy.ml•Those of you who share a name with a celebrity, how do you deal with it?
1·
1 year agoHaha reminds me of a lanky white guy I knew named Will Smith.
Haha reminds me of a lanky white guy I knew named Will Smith.
Nah this isn’t the way, friend. Instead of adding a bunch of useless anys all over the place, start typing in one part of the application and exclude the rest using a path pattern. Or simply allow .js and only change the extension for files you’ve typed. Doing this is just wasting time and creating false assurances of type safety.
It’s not that hard to define correct, meaningful types. Often vscode already has implicitly determined them for you; just mouseover the variable.