Skip to content

Latest commit

 

History

History
35 lines (34 loc) · 878 Bytes

README.md

File metadata and controls

35 lines (34 loc) · 878 Bytes

List learning typescript

  • Setup Typescript
  • Unit test with Jest
  • Agar jest support JS Module, maka install Babel
  • Union type
  • Ubah JS Module di tsconfig.json
  • Testing with Jest
  • data type
  • array, readonly, and tuple
  • any
  • type alias
  • object type
  • optional properties (tambahkan ?)
  • enum
  • interface
  • function Interface
  • indexable Interface
  • extends Interface
  • intersection Interface
  • Type Assertions
  • void function
  • function parameter
  • function parameter (...rest parameter)
  • function overloading
  • function as a parameter
  • Anonymous Function
  • arrow function
  • if statement
  • Ternary Operator
  • switch statement
  • for loop
  • while loop
  • do while loop
  • Break dan continue