Stop using any in TypeScript #javascript

preview_player
Показать описание
Why should you not use it?

Using any removes all type checking provided by TypeScript, which is one major reason for using TypeScript over JavaScript. By using any, you expose yourself to issues that are difficult to trace and debug, especially once the code is deployed in production.

In other words: using any for a variable type in TypeScript is similar to write JavaScript.

🙌 If you enjoyed this reel, make sure to let me know by leaving a like, and if you think this is knowledge worth sharing, I appreciate every share from your side! Let me know what you think in the comments! See you tomorrow! 😊

#️⃣ tags:
#javascript #typescript #codding #developer #dev #frontenddeveloper #backenddeveloper #programming #webdevelopment #websitedevelopment #softwareengineer #webjedi #100daysofcode
Рекомендации по теме