> I don't want to fight with the compiler.
The only time you're ever fighting the compiler in a modern statically typed languages with type inference is when you've made a mistake.
The only time you're ever fighting the compiler in a modern statically typed languages with type inference is when you've made a mistake.
IMO, one of the geeat things about TS is that you can opt out of the type system for specific functions if you really want to.