Q1: let message = "Hello, TypeScript!"; console.log(message); The compiler infers the type string. Q2: function calculateArea(len: number, wid: number) { return len * wid; } const result = calculateArea(10, 5); console.log(result); The compiler infers the type number.
Very grateful to you i am following from one year i have learned tons of knowledge from your channel I have one kind request : Please make a such project which includes * complete role based authentication with Rest Api * Rest Api integration (no one tell us that how to integrate custom backend made api , it is very difficult for those who are working on fronted stack) * all crud operations * payment gateway * dashboard for user & admin using Typescript on Next.Js I guarantee you sir , this will boom the growth of your channel all over RUclips at the end Love from Pakistan 💖
Hi Vinod, Thank you for your TypeScript video series, its awesome and very knowledgeable. only one thing which I am not liking is motion pictures which you are adding in between your explanation, due to this concentration lost.
1.Q let message = "Hello, TypeScript"; console.log(message); 2.Q function calculateArea(l , b){ return l*b } console.log(calculateArea(6,8)); Answer Hello, TypeScript 48 Thank a lot TP SIR
let message = "Hello, Typescript!"; function calculateArea(length: number, width: number) { return length * width; } // let result: string = calculateArea(3, 5); // It'll give error as result can't store numeric value that will be provided by the function let result2: number = calculateArea(4, 8); // It'll work fine let result3 = calculateArea(4, 8); // It'll also work fine
//todo let message = "Hello, TypeScript!" //* The compiler infers the type string for the variable message. console.log(message) let areaOfRectangle = (l:number,b:number)=>{return l*b} console.log(areaOfRectangle(2,3))
let message = "Hello, TypeScript!"; console.log(message); //type string function calculateArea(len:number, wid:number){ return len * wid; } let are = calculateArea(2,5); console.log(are); //type number
// Q1: Declear a variable message and initialize it with the value "Hello, TypeScript!". infer the type of message using type inference. let message = "Hello, TypeScript!" // The compiler infers the type sgring for the variable message // Q2: write a function calculateArea that takes the length and width paramenter of type number and returns their product, Infer the return type of the function using type inference let calculateArea = (l: number, b: number) => { return l*b } console.log(calculateArea(2, 3)) // The compiler infers the type number for the function calculateArea
Q1: let message = "Hello, TypeScript!";
console.log(message);
The compiler infers the type string.
Q2: function calculateArea(len: number, wid: number) {
return len * wid;
}
const result = calculateArea(10, 5);
console.log(result);
The compiler infers the type number.
Very grateful to you i am following from one year i have learned tons of knowledge from your channel
I have one kind request :
Please make a such project which includes
* complete role based authentication with Rest Api
* Rest Api integration (no one tell us that how to integrate custom backend made api , it is very difficult for those who are working on fronted stack)
* all crud operations
* payment gateway
* dashboard for user & admin
using Typescript on Next.Js
I guarantee you sir , this will boom the growth of your channel all over RUclips
at the end Love from Pakistan 💖
Mast se samjh aagya bhaiya ❤❤
Good Teaching Way ..........
❤ 🎉
Allah Aap Ko Kamyab Kare 🌟
sir typescript + react zarur krwana
love you thapa bhai 🧡🧡
Thank you so much sir😎😎😎😎😎😎
make projects on typescript + react js
Awesome Teacher 👏
Nice sir
Hi Vinod, Thank you for your TypeScript video series, its awesome and very knowledgeable.
only one thing which I am not liking is motion pictures which you are adding in between your explanation, due to this concentration lost.
💙💙
brother please explain unknown and any difference in detail
Nice bro.....
Nice videos ❤
function calculateArea( length= 2, width=7){
return length * width;
}
console.log(calculateArea())
How did you change your vs code terminal color ? Please reply
1.Q
let message = "Hello, TypeScript";
console.log(message);
2.Q
function calculateArea(l , b){
return l*b
}
console.log(calculateArea(6,8));
Answer
Hello, TypeScript
48
Thank a lot TP SIR
Your assignment is correct .Hey thapa sir,assume his assignment like mine ok.Have a nice day.
please correct playlist, the videos are in reverse order.
please upload a nest js series also
//THAPA TECHNICAL 7TH VIDEO Homework
let message="Hello World";
//message= 10;
//The ts compiler infers the type string for the varriable message
const calculateArea=(l:number,w:number)=>{
return l*w;
}
console.log(calculateArea(20,10));
Sir e-commerce hum next per bamaye
First 🥇
let str3:string = 'Hello World';
console.log(str3);
const calculateArea = (length:number,width:number) => {
return width/length ;
}
console.log(calculateArea(26,7))
🙏🙏
let message = "Hello, Typescript!";
function calculateArea(length: number, width: number) {
return length * width;
}
// let result: string = calculateArea(3, 5); // It'll give error as result can't store numeric value that will be provided by the function
let result2: number = calculateArea(4, 8); // It'll work fine
let result3 = calculateArea(4, 8); // It'll also work fine
//todo
let message = "Hello, TypeScript!"
//* The compiler infers the type string for the variable message.
console.log(message)
let areaOfRectangle = (l:number,b:number)=>{return l*b}
console.log(areaOfRectangle(2,3))
Q1 : solution
function message(){
let msg = 'hello rahil Shaikh'
console.log(typeof(msg))
}
message();
// ================Q9==================
let message2 = "Hello, Typescript"; //Infer type string
// ================Q10==================
const calculateArea = (w: number, l: number) => {
return w * l;
};
//infer type number
Janvi kapoor say dil garden garden 😅😅
let message = "Hello, TypeScript!";
console.log(message);
//type string
function calculateArea(len:number, wid:number){
return len * wid;
}
let are = calculateArea(2,5);
console.log(are);
//type number
7:33 let message = "Hello Typescript";
//The compiler infers type string for the variable message.
const calculateArea= (l:number,w:number):number => {
return l*w;
}
console.log(calculateArea(5,12));
ab mai jata hu raat ko wapis se aaunga
// Q1: Declear a variable message and initialize it with the value "Hello, TypeScript!". infer the type of message using type inference.
let message = "Hello, TypeScript!" // The compiler infers the type sgring for the variable message
// Q2: write a function calculateArea that takes the length and width paramenter of type number and returns their product, Infer the return type of the function using type inference
let calculateArea = (l: number, b: number) => {
return l*b
}
console.log(calculateArea(2, 3))
// The compiler infers the type number for the function calculateArea
Thumbnail main pic change kr lo please 😢