@[email protected] to Programmer [email protected] • 9 months agoMe, migrating my code from JavaScript to TypeScript:lemmy.worldimagemessage-square30fedilinkarrow-up1341arrow-down114
arrow-up1327arrow-down1imageMe, migrating my code from JavaScript to TypeScript:lemmy.world@[email protected] to Programmer [email protected] • 9 months agomessage-square30fedilink
minus-square@[email protected]linkfedilinkEnglish5•9 months 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@[email protected]linkfedilink2•9 months 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