#8 - Type Assertions in TypeScript || Type Casting

preview_player
Показать описание
In this video, I have explained what is Type Assertions in TypeScript.

Schedule a meeting in case of any queries/guidance/counselling:

~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Naveen AutomationLabs Paid Courses:
GIT Hub Course:

Java & Selenium:

Java & API +POSTMAN + RestAssured + HttpClient:
Рекомендации по теме
Комментарии
Автор

If we're giving the let flag : any = 123; or any value ..other than 0 or false.. in if loop it will be treated as a condition.. so it will always print the hello TS!! because it always checks if the condition is true or false instead of converting variables into some other data types.

Maheshyt-fofk