TypeScript Essentials: Getting Started


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
TypeScript can be developed in any one of a number of IDEs, but Visual Studio 2013 has been developed with a number of features explicitly targeted at TypeScript development. This course covers Visual Studio TypeScript functionality. It also covers Types in TypeScript, and objects including functions and classes, and debugging TypeScript. Finally, it covers working with internal and custom TypeScript modules.

Target Audience
JavaScript developers looking to gain familiarity with TypeScript

Prerequisites
None

Expected Duration (hours)
2.0

Lesson Objectives

TypeScript Essentials: Getting Started

  • start the course
  • set up a development environment for TypeScript in Microsoft Visual Studio 2013
  • set up Visual Studio 2013 to display a split view of a TypeScript file with its corresponding JavaScript output
  • use the Node.js package manager to install a TypeScript compiler and use it to compile a TypeScript file from the command-line
  • customize TypeScript development environment in Visual Studio 2013
  • describe the difference between type inferences and type annotations in TypeScript and the pitfalls of not correctly typing the variables
  • apply types to a functions input and output variables in TypeScript
  • describe the "any" type in TypeScript
  • differentiate between the null and undefined values in TypeScript
  • work with string arrays in TypeScript
  • obtain a TypeScript definition file, include it in a project, and add a reference to it in a TypeScript HTML application in Visual Studio 2013
  • use TypeScript with Visual Studio 2013 to perform compile-time debugging
  • set up breakpoint in TypeScript code and carry out single-step debugging
  • define a TypeScript function with required and optional input parameters in Microsoft Visual Studio 2013
  • use an arrow function to specify a TypeScript function's return value in Microsoft Visual Studio 2013
  • declare a custom object that contains several properties and a member function
  • define an interface in TypeScript and use it to create a new custom object
  • create a class in TypeScript using Visual Studio 2013
  • use the extends keyword to implement class inheritance in TypeScript
  • implement an interface for multiple classes in TypeScript
  • extend an interface in TypeScript to pass a single data object in the call to the base constructor
  • export interfaces and classes from internal modules to make them externally accessible
  • extend an internal named module within the same file in TypeScript
  • create and access a nested module in a TypeScript
  • extend an internal module across two different TypeScript files in the same TypeScript project
  • Course Number:
    sl_tpsc_a01_it_enus

    Expertise Level
    Beginner