Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Learning TypeScript

Learning TypeScript

1h 8mBeginner2019-07-08

Authors

Jess Chadwick

Jess Chadwick

Software Consultant

Course details

TypeScript adds discipline to JavaScript development. You can find errors in your code before you execute it, and leverage productivity enhancements like variable and property renaming. Despite its many parts—types, annotations, interfaces, and classes—adding TypeScript to your workflow doesn't have to be difficult. Join web developer Jess Chadwick as he walks you through the foundations, helping you set up TypeScript and use it in simple ways to improve existing JavaScript projects. Learn how to define custom types, convert existing JavaScript classes to TypeScript classes, and encapsulate your logic and data with access modifiers. Plus, find out how to reuse code with generics, type check files, and add type support for APIs. Using these techniques, you can become a more productive, efficient JavaScript developer.

Learning objectives
Adding TypeScript to an existing app
Describing code with types
Defining custom types
Converting JavaScript classes to TypeScript
Encapsulating logic and data
Reusing logic with generics
Type checking
Adding type support for APIs

Skills covered

TypeScriptLearningProgramming LanguagesOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Welcome to Learning TypeScript
  • 02 - What is TypeScript
  • 03 - Who's this for
  • 04 - Exercise files
  • 05 - Setting up the development environment
  • 06 - Sample application

1. The Basics

  • 07 - Adding TypeScript to an existing application
  • 08 - Describing your code with types
  • 09 - Understanding type inference and gradual typing

2. Defining Custom Types

  • 10 - Defining custom types with interfaces
  • 11 - Enhancing interface definitions
  • 12 - Restricting possible values with enums and literal types
  • 13 - Allowing a variable to be multiple types

3. Classes

  • 14 - JavaScript classes overview
  • 15 - Converting JavaScript classes to TypeScript
  • 16 - Encapsulating logic and data with access modifiers

4. Expanding and Improving Type Support

  • 17 - Reusing common logic with generics
  • 18 - Type checking JavaScript files
  • 19 - Adding type support for native APIs
  • 20 - Adding type support for third-party APIs

Goodbye

  • 21 - Next steps
  • 22 - Conclusion

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal