@callmepk to Programmer [email protected] • 1 year agoMe, migrating my code from JavaScript to TypeScript:imagemessage-square28arrow-up1355arrow-down114
arrow-up1341arrow-down1imageMe, migrating my code from JavaScript to TypeScript:@callmepk to Programmer [email protected] • 1 year agomessage-square28
minus-squarefusiolink21•1 year agothis is terrible advise - you should be using unknown. using any 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
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