Skip to content

sz-piotr/warsawjs-workshop-37-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WarsawJS Workshop #37 - TypeScript

Agenda

  1. Writing JavaScript and trying to add types
  2. Writing TypeScript from scratch
  3. Configuring a TypeScript project from scratch

Topics to cover

  1. Types
  • Boolean
  • Number
  • String
  • Array
  • Null and Undefined
  • Any (every type at once)
  • Void (opposite of any - no type)
  • Never (something that never occurs)
  1. Interfaces
  • Basic structures
  • Optional fields
  • Function fields
  • Number indexes
  • String indexes
  1. Classes
  • Syntax
  • Inheritance
  • Access modifiers
  • Parameter properties
  • Getters and setters
  • Static
  1. Functions
  • Function syntax
  • Optional parameters
  • Default parameters
  • Function types
  • Rest parameters
  • Overloads
  1. Generics
  • Normal generics
  • Generics with extends keyword
  1. Advanced TypeScript
  • Tuple
  • Enum
  • Type keyword
  • Discriminated unions
  • Type guards
  • Readonly
  • Abstract classes
  • Function interfaces
  • Hybrid types
  • This in functions
  1. Configuration from scratch
  • Tsconfig JSON
  • Type declarations for libraries
  • Stack traces
  • Tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published