Unknown vs Any in TypeScript - With Examples
What's the difference between any and unknown in TypeScript?
📚 Read the article: https://www.lucaspaganini.com/academy/unknown-vs-any-in-typescript
🚨 Subscribe to the newsletter: https://www.lucaspaganini.com/newsletter
📧 Email: me@lucaspaganini.com
🐦 Twitter: https://twitter.com/lucaspaganini
📸 Instagram: https://www.instagram.com/lucaspaganini/
----------
RELATED
1. TypeScript Narrowing Series: https://www.youtube.com/watch?v=EoPubc1u5IY&list=PLLbNB9i2QOKMgZN0qkSaXqq1SIRs-mU7X
REFERENCES
1. TypeScript docs on the unknown type: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type
2. unknown vs any on Stack Overflow: https://stackoverflow.com/questions/51439843/unknown-vs-any
#shorts #typescript #javascript
Видео Unknown vs Any in TypeScript - With Examples канала Lucas Paganini
📚 Read the article: https://www.lucaspaganini.com/academy/unknown-vs-any-in-typescript
🚨 Subscribe to the newsletter: https://www.lucaspaganini.com/newsletter
📧 Email: me@lucaspaganini.com
🐦 Twitter: https://twitter.com/lucaspaganini
📸 Instagram: https://www.instagram.com/lucaspaganini/
----------
RELATED
1. TypeScript Narrowing Series: https://www.youtube.com/watch?v=EoPubc1u5IY&list=PLLbNB9i2QOKMgZN0qkSaXqq1SIRs-mU7X
REFERENCES
1. TypeScript docs on the unknown type: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type
2. unknown vs any on Stack Overflow: https://stackoverflow.com/questions/51439843/unknown-vs-any
#shorts #typescript #javascript
Видео Unknown vs Any in TypeScript - With Examples канала Lucas Paganini
Комментарии отсутствуют
Информация о видео
15 сентября 2021 г. 0:00:21
00:00:42
Другие видео канала