/****************************************
  Basic Types and Functions
*****************************************/ let admin = true ; let message = 'hello world' ; let age = 70 ; let someVariable = 'could be a string, or number, or object, etc...' ; let person = { name : 'brad' } ; person = { name : 'new name' } ; console . log ( person ) ; const arrayOfNumbers = [ 1 , 2 , 3 ] ; const mixedArray = [ 1 , 2 , 'a' , false ] ; function logOne ( message ) { } const logTwo = ( message ) : void => { } ; /****************************************
  Implicit, String literals, and Unions
*****************************************/ /****************************************
  `type` Alias
*****************************************/ /****************************************
  Intersection (merge types)
*****************************************/ /****************************************
  Interfaces
*****************************************/ /****************************************
  Type Alias vs Interface
*****************************************/ /****************************************
  Type Assertions (const assertions)
*****************************************/ /****************************************
  Generics (Type Variables)
*****************************************/