Basic Type Checking


  • Implicit Type Checking → TS can infer types for us without needing add annotations
  • Type annotations → let example: string
  • Non-null assertion → ! tells typescript not to care if the value is undefined
  • Arrays → string[] || Array<string> (not jsx supported)
  • Functions →
  • Arrow fns →



Copyright 2023 © Borja Leiva

Made within London