Without a doubt, TypeScript is the way to go for JavaScript projects. Its advantages are numerous, but one of the standout features is typed variables. Arrow functions, like the one below, are also fantastic:
const arFunc = ({ n, m }) => console.log(`${n + m + 1}`);
In the code snippet above, we have a simple arrow function in JavaScript using destructuring assignment. However, I find it challenging to grasp how this would be implemented in TypeScript. The complexity of it leaves me feeling confused.
I long for the simplicity of assigning types to variables and having clear outputted results in my work.