News for hackers. Stuff that matters.
Re:Switching to Elixir by _flux on Friday November 10, 2023 @05:55AM (#38217390)
You perhaps know, but I believe one should prefer the "unknown" type in TypeScript in such scenarios. Of course, then you need to check what its type actually is to make use of it, but this time TS checks that you do.

Btw, the equivalent in Python (and MyPy/pyright) is object.

There are no comments on this comment yet.