Any vs Unknown In TypeScript

preview_player
Показать описание
🌎 Find Me Here:

#Shorts
Рекомендации по теме
Комментарии
Автор

So "any" is when the developer wants to use simple JavaScript again, and "unkown" is when he is having amnesia 😂

josiasbudaydeveloper
Автор

Recap : Unknown is" I don't know", any is "I don't care"

martinheywang
Автор

Please do a short on never too. That one is confusing for me.

fexxix
Автор

Another thing with typescript is that a variable can be of multiple datatypes it's not just a choice between any and a single type

adityaanuragi
Автор

Looking forward for more typescript content! ❤

LeoPacheco
Автор

I need to learn a lot more on typescript

okosunfamily
Автор

Really informative! Love your videos, they are really amazing and helpful, very inspiring, keep it up

tonyartz
Автор

Is that facial hair I see?😮
Lovely tuts bro

elijahandrew
Автор

any should be abolished from Typescript and force the developer to use Unknown or to type what is really expected, doing unions are Magic already

Moys
Автор

When you're coding till 5am and you look down in Vs Code.
"Go Live"
... guess ill go live a better life now. Goodbye code.

fuzzy-
Автор

When is the full video on TS coming up kyle ??

abhijeetmokale
Автор

wait... is he saying "unknowunn"?

alexalvarez
Автор

Any is not the opposite of uknown. never is. Unknown is the superset of all types. never is the empty set.

pierre-jeanmartin
Автор

Wouldn’t never be the complete opposite to any?

alef
Автор

Be cautious to the unknown, but when it doesn't matter, anything goes.

Zeero
Автор

But array functions aren't working on any types such as "map, find, filter"

shahiddar
Автор

How do you make shorts like this, recorded on phone?

shacodes
Автор

what's the point of unknown if undefined already exist?

NicolasSilvaVasault
Автор

so what the point of using unknown if you just use specific type

Saumennath
Автор

It would be better if we have a use cases of type unknown

simpingsyndrome