TypeScript #3: Issues With Typescript with Solution and Tips

preview_player
Показать описание
In this video we will be discussing the basic issues that you are going to face initially and also some suggestions that might come handy while working with Typescript.

File needs to be declared as a module with its own scope
File has been declared as a script that shares global scope

Our file follows the second condition. In our case, variable message is already in global scope because the global object has a property named message
Рекомендации по теме
Комментарии
Автор

Was getting annoyed by this error can not redeclare but the video helped to understand the context. 🙏 Thanks

princeanand
Автор

Really helpful video.
Keep up the good work. 😊

MontiAnand