@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-square@[email protected]linkfedilinkEnglish5•1 year agoThere are some cases where any must be used instead of unknown but they usually involve generic constraints and seem more like a bug than intended behavior
minus-square@9point6link2•1 year agoAh you’re right there, and I also agree, that feels more like a bug than by design
There are some cases where
any
must be used instead ofunknown
but they usually involve generic constraints and seem more like a bug than intended behaviorAh you’re right there, and I also agree, that feels more like a bug than by design