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.)
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