Types in Typescript - Difference between Any and Unknown Types

Sdílet
Vložit
  • čas přidán 20. 06. 2024
  • This video introduces you quickly that how to explicitly declare types with variables and function parameters in Typescript. After introduction to basic types, this video discusses differences between Any type and Unknown type in depth. Hands-on and practical examples have been shown to clarify that why Any Type should not be used in Typescript and Why Unknown Type is a better alternative. This video also discusses concept of Type Guards in Typescript.
  • Věda a technologie

Komentáře •