1 Get started with TypeScript
mebaumb редактировал(а) эту страницу 2021-04-22 17:44:31 -07:00

Event Information

Category Details
Reactor Topic Coding, Languages, and Frameworks
Title Get started with TypeScript
Description TypeScript offers all the features of JavaScript, plus the additional layer of the TypeScript type system. In this workshop, you'll be introduced to the TypeScript language, why it was created, and learn how to use it for JavaScript development. You'll set up a development environment with Visual Studio Code and create your first TypeScript project. Then you'll learn about the available data types and shows how to associate them with variables. Leave this workshop with an understanding of what TypeScript is and how to write simple programs.
Content Get started with TypeScript: https://aka.ms/GetStartedTypeScript Declare variable types: https://aka.ms/VariablesTypeScript

Workshop Dates Run:

June 1 & 2, 2021 - All Locations

Instructor notes

Share these link with attendees at the beginning of the workshop: https://aka.ms/GetStartedTypeScript and https://aka.ms/VariablesTypeScript

This workshop is an introduction to TypeScript. It includes exercises to get started using TypeScript and to get familiar with types and variables.

Workshop steps:

  1. Provide an overview of what TypeScript is: https://www.typescriptlang.org/. Spend some time using the Playground: https://www.typescriptlang.org/play and going through simple eamples there. Explain that the workshop will involve writing and running examples in both the Playground and Visual Studio Code.
  2. Walk through the process to install TypeScript, npm and Visual Studio Code. Give attendees enough time to complete these steps.
  3. Walk through the exercise to create a new TypeScript project in Visual Studio Code.
  4. Go through the knowledge check and summary.
  5. Move on to the variables module and start out with an overview of types. You can use the Playground to create variables and show examples of primitive types.
  6. Walk through the enums exercise.
  7. Discuss any and unknown types
  8. Discuss union and intersection types.
  9. Discuss collection types
  10. Complete the lab on using types in TypeScript in Visual Studio Code.
  11. Go through the knowledge check and summary.

Wrapping up:

  • Please encourage attendees to rate the module 😄
  • Share out the survey link: https://aka.ms/Reactor/Survey with the event code (the Reactor contact on the call can give you this)