fusio@lemmy.worldtoProgrammer Humor@lemmy.ml•Me, migrating my code from JavaScript to TypeScript:
11·
1 year agousing any
is actually much worse than using TS, because you’re basically telling the compiler “don’t help me here”… at least with JS the IDE is gonna help you… :/
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