Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Non-Zero Number of TypeScript Tips

Toby Ho
August 20, 2018

A Non-Zero Number of TypeScript Tips

An introduction to TypeScript.

Toby Ho

August 20, 2018
Tweet

More Decks by Toby Ho

Other Decks in Programming

Transcript

  1. Agenda • What and why • Interfaces • Optional Properties

    • Class • Generic functions / methods • Strict Null Checks • VS Code Shortcuts
  2. VSCode: Looking up type definitions Mac: Command+click Windows: Control+click Mac:

    Command+hover Windows: Control+hover Popup: Drilldown:
  3. Summary • What and why • Interfaces • Optional Properties

    • Class • Generic functions / methods • Strict Null Checks • VS Code Shortcuts