3 ms·
Ask HN: What are your strategies for plugging the holes in TS?
I am a TS fanatic, but I still find it daunting to handle a codebase that imports libraries that may not have its own typings, or poor typings, or colleagues using `as` casts, etc. What defenses do you have in place to keep sane and healthy typesafe applications?
- djaouen 3y agoSwitching to a typeless language, like Elixir lmao
- cushpush 3y agoor in our case, Clojure which has heterogenous collections
- cushpush 3y agoMaybe have GPT refactor imports to fit your naming conventions. Na mean?
- triyambakam 3y agoI don't follow
- cushpush 3y agoUse a transformer to transform the libraries you import to match your naming conventions. Naming conventions are the issue, right?