3 ms·
TS has type inference on function return types while Rust forces you to type the whole function signature (for a good reason, TS's return type inference is a fo
by kaoD 2y ago
TS has type inference on function return types while Rust forces you to type the whole function signature (for a good reason, TS's return type inference is a footgun).
Other than that, I haven't noticed their inference capabilities being any different.
So I don't get your point.
Can you give a single example where Rust has more automatic type inference compared with TS? (honest question, maybe I'm missing something)