328
Me, migrating my code from JavaScript to TypeScript:
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
this is terrible advise - you should be using
unknown
. usingany
you're basically disabling TS and will be under the false assumption that your code is ok while it's most likely missing a lot of runtime checks