TypeScript Beginner Tutorial 4 | Variables
Automation Step by Step Automation Step by Step
510K subscribers
4,594 views
0

 Published On Nov 2, 2021

All FREE courses - https://automationstepbystep.com/
Step 1 - Add the following code in a ts file and check
let a =10
a = "Raghav";
Step 2 - Can declare a variable without assigning values
let x;
Step 3 - Inference - typescript will infer the type of variable based on the value
let x=10; //inferred type is number
Step 4 - This helps in IntelliSense and code completion

#TypeScriptTutorials
Stories by Raghav - https://automationstepbystep.com/stor...
My Udemy Courses - https://automationstepbystep.com/udem...

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can.

_______ ONLINE COURSES TO LEARN _______
https://automationstepbystep.com/free...

Never Stop Learning
Raghav

show more

Share/Embed