• Basic Class Mechanics & the Prototype-based System
  • Accessibility and Parameter Properties
  • Inheritance, Types and Type Assertions
  • Accessors and 4.3’s support for differing types
  • ECMAScript Private and 4.3’s extension…


Be on your guard

The Guard
  • What are Type Unions
  • Type Guards and Control Flow Analysis
  • 4.4’s CFA for Aliased Conditions and Discriminants

Introduction


Why am I talking about this?


Fundamentals


Phil Connors — “Well, you can. It just takes an awful lot of work.”
  • Boot-strapping an app with create-react-app
  • Using React with TypeScript
  • React Hooks
  • Integrating the Open Weather API
  • Using asynchronous communication
  • Applying more hooks

Step 4: Integrate Open Weather API for Search


Brick Tamland — Weather


Is this what duck typing leads too? Source


New Features in TypeScript 4.1

  • Template Literal Types
  • Key Remapping in Mapped Types
  • Recursive Conditional Types

Template Literal Types

type Beatles = "John" | "Paul" | "George" | "Ringo"

Eamonn Boyle

15 years working as a developer. For the last 5 years I've been working as a trainer and coach, authoring and delivering courses on a range of topics.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store