Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Independent

TypeScript Basics

via Independent

Overview

This course on TypeScript Basics aims to teach learners the fundamentals of TypeScript, including topics such as operators, arrays, functions, type syntax, generics, conditional narrowing, and more. By the end of the course, students will be able to install TypeScript, use it in Node.js, understand the differences between TypeScript and JavaScript, and convert data types effectively. The teaching method includes lessons, quizzes, and additional resources for further exploration. This course is designed for individuals interested in enhancing their knowledge of TypeScript and improving their skills in web development.

Syllabus

TYPESCRIPT BASICS EXTRAS

You don't have to read these articles to complete any of the lessons, but you may find them helpful (now or later).

  • How to install TypeScript
  • How to use TypeScript in Node.js
  • Is TypeScript Better Than JavaScript?
  • How to convert a string to a number in TypeScript
  WHAT'S NEXT

Tasks that will unlock as you continue through the course.

  • LESSON: Operators
  • LESSON: JavaScript builtins
  • LESSON: Inference
  • LESSON: Functions
  • LESSON: Arrays
  • LESSON: Type keyword
  • LESSON: Syntax errors vs type errors
  • LESSON: Object types
  • LESSON: Return type inference
  • LESSON: Tuples
  • LESSON: Type unions
  • LESSON: Generic arrays
  • LESSON: Literal types
  • LESSON: Generic functions
  • LESSON: Conditional narrowing
  • LESSON: Literal object types
  • LESSON: Object narrowing
  • LESSON: Function types
  • LESSON: Type syntax is consistent
  • LESSON: Generic object types
  • LESSON: Nullability
  • LESSON: Generic function inference
  • LESSON: Generic function types
  • LESSON: Undefined in arrays
  • QUIZ: Type error
  • QUIZ: Pluralize
  • QUIZ: Add or subtract
  • QUIZ: Using operators
  • QUIZ: Syntax error
  • QUIZ: Select from tuple
  • QUIZ: Array identity
  • QUIZ: Generic identity function
  • QUIZ: Generic first function
  • QUIZ: Generic length
  • QUIZ: Object type with holes
  • QUIZ: Destructuring with literal objects
  • QUIZ: Name property
  • QUIZ: Writing a function type
  • QUIZ: Stringify
  • QUIZ: Add or subtract with union
  • QUIZ: Parse nullable string
  • QUIZ: Has logged in
  • QUIZ: Generic first with narrowing

Reviews

Start your review of TypeScript Basics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.