Typescript tutorial for beginners in Hindi #19 Never Type

preview_player
Показать описание
in this typescript tutorial, we learn what is never type of function and this video is made in the Hindi language.

Function Type
never type in TS
What is never type?
How this is different from void?
Example?
Interview Question.
.
Рекомендации по теме
Комментарии
Автор

Anil you are awesome.
Plz provides some link for payment.
I wanna gave you something from my end.
Because we are paying so much on other resources.
So this is gift from every learners who wants to gave.

sumitkhinchi
Автор

Your explanation is excellent.. Can't describe in words..

Tarun
Автор

Bro u told that the undefined will not work but it work on my
function add(): undefined {
// return true;
}
console.warn(add());

mohitpatel
Автор

sir if i make function like you but its shows error when i dont declare the type of paramenter but in your video you dont give type to parameter
function apiError(msg, code) => (parameter) msg: any
Parameter 'msg' implicitly has an 'any' type.
error in this line msg, code

gauravsinghrajput
Автор

please everytime don't start with hey everyone my name is anil its
irritating

DeepeshGodhwani-mc
Автор

Your explanation is excellent.. Can't describe in words..

Vishal_Tank