Getting Started with TypeScript
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Getting Started with TypeScript
This course is part of Modern Web Development with TypeScript Specialization
1,800 already enrolled
Included with
Recommended experience
Recommended experience
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
This course introduces the essentials of TypeScript, combining type system fundamentals with hands-on coding, object modeling, and scalable function design. Designed to provide both theoretical foundations and practical experience, it explores how TypeScript strengthens JavaScript with static typing, advanced tooling, and compiler-driven safety to create robust, maintainable applications.
Through guided lessons and demonstrations, you’ll learn to configure the TypeScript environment, work with compiler options, and understand how TypeScript compiles to JavaScript. You will also explore primitive and advanced types, object structures, enums, and unions, before progressing to functions, generics, and advanced features like overloads, constraints, and the keyof operator. By the end of the course, you’ll be equipped to build type-safe utilities, reusable APIs, and production-ready applications with confidence. By the end of this course, you will be able to: • Understand TypeScript’s architecture, compiler, and benefits over JavaScript. • Apply core and advanced types, including unions, intersections, and conditional types. • Model objects with aliases, discriminated unions, readonly properties, and enums. • Implement functions with default, optional, and rest parameters, return types, and signatures. • Configure tsconfig.json and compiler options to enforce consistency across projects. This course is ideal for JavaScript developers, software engineers, and aspiring programmers who want to strengthen their coding practices with TypeScript. A basic understanding of JavaScript will be helpful, but no prior experience with TypeScript is required. Join us to master the tools and techniques that make TypeScript the language of choice for building safer, cleaner, and more scalable applications!
Learn the fundamentals of TypeScript, its evolution, and why it extends JavaScript with static typing and tooling. This module covers setup, compiler options, type checking, and configuration to build a solid foundation.
What's included
13 videos3 readings3 assignments1 discussion prompt
13 videos•Total 51 minutes
- Course Introduction•4 minutes
- What is TypeScript, and Why Use It?•5 minutes
- History and Evolution of TypeScript•3 minutes
- TypeScript vs. JavaScript•2 minutes
- Extensions to Work with TypeScript•6 minutes
- Installing TypeScript Locally and Globally•3 minutes
- Configuring tsconfig.json•2 minutes
- TypeScript Compiler Options•3 minutes
- How TypeScript Compiles to JavaScript•5 minutes
- Abstract Syntax Tree (AST)•4 minutes
- How Compiler Does Type Checking•4 minutes
- Type Inference•3 minutes
- Hands-On: Installing and Configuring TypeScript Project•6 minutes
3 readings•Total 30 minutes
- Course Outline: Getting Started with TypeScript•10 minutes
- TypeScript Ecosystem vs. JavaScript Ecosystem•10 minutes
- Summary of Introduction to TypeScript•10 minutes
3 assignments•Total 42 minutes
- Knowledge Check: Introduction to TypeScript•30 minutes
- Practice Quiz: TypeScript Overview•6 minutes
- Practice Quiz: Setting up TypeScript Environment•6 minutes
1 discussion prompt•Total 5 minutes
- Introduce Yourself•5 minutes
Explore TypeScript’s powerful type system, from primitives and unions to conditional types and enums. Gain hands-on experience modeling data with objects, arrays, and advanced type features for safer, maintainable code.
What's included
27 videos3 readings4 assignments
27 videos•Total 114 minutes
- Primitive Types•7 minutes
- Type System in TypeScript•3 minutes
- any and unknown Type•4 minutes
- Type Alias in Typescript•3 minutes
- Type Behavior•6 minutes
- Understanding Union Types in Typescript•5 minutes
- Introduction to Conditional Types•4 minutes
- Type Hierarchy•4 minutes
- Type Casting•4 minutes
- Hands-On: Typescript Primitive Types•5 minutes
- Hands-On: Union Types in TypeScript•4 minutes
- Hands-On: Conditional Statements in TypeScript•3 minutes
- Objects and Their Working•4 minutes
- Type Alias for Objects and Nested Objects•4 minutes
- Index Signatures with Objects•5 minutes
- Optional and Readonly Properties in Typescript•3 minutes
- Union Types with Objects•6 minutes
- Discriminating between Unions Types •4 minutes
- Intersection Types•3 minutes
- Hands-On: Working with objects in TypeScript.•4 minutes
- Arrays•4 minutes
- Read-only Arrays and Tuples•4 minutes
- Need for Enums•4 minutes
- Enums vs. Objects•5 minutes
- Computed Enums•3 minutes
- Enums as Unions and Types•3 minutes
- Hands-On: Arrays, Tuples, and Enums in Practice•6 minutes
3 readings•Total 30 minutes
- Type Casting Use Cases in TypeScript•10 minutes
- Working with Objects in TypeScript•10 minutes
- Summary of Core Types in TypeScript•10 minutes
4 assignments•Total 48 minutes
- Knowledge Check: Core Types in TypeScript•30 minutes
- Practice Quiz: TypeScript Basic Types•6 minutes
- Practice Quiz: TypeScript Objects•6 minutes
- Practice Quiz: Arrays and Enums in TypeScript•6 minutes
Master functions in TypeScript, including parameters, return types, and overloading, before advancing to generics. Learn to design reusable, type-safe utilities and APIs with flexible and scalable patterns.
What's included
19 videos3 readings5 assignments
19 videos•Total 78 minutes
- How to Declare a Function•3 minutes
- Types of Functions•4 minutes
- Default and Optional Parameters•3 minutes
- Custom Parameters and Return Types•5 minutes
- Function Signature•5 minutes
- Hands-On: Functions in TypeScript•5 minutes
- void and never Types•4 minutes
- Async Functions•3 minutes
- Rest Parameters and Arguments•4 minutes
- Parameter Destructuring•3 minutes
- Function Overloading in TypeScript•4 minutes
- Implementing Function Overloading•5 minutes
- What are Generics?•6 minutes
- Generic Function Declarations•5 minutes
- Generics and Constraints with Arrays•3 minutes
- Generics with Objects•3 minutes
- keyOf Operator•3 minutes
- Implementing Polymorphic Function•5 minutes
- Function Overloading vs Generics in TypeScript•5 minutes
3 readings•Total 45 minutes
- Generics in TypeScript: Writing Reusable and Type-Safe Code•15 minutes
- Summary of Functions and Generics in TypeScript•10 minutes
- Practice Project: Building a Simple Task Management Tool•20 minutes
5 assignments•Total 54 minutes
- Knowledge Check: Functions and Generics in TypeScript•30 minutes
- Practice Quiz: Working with Functions in TypeScript•6 minutes
- Practice Quiz: Advanced Concepts in TypeScript Functions•6 minutes
- Practice Quiz: Generics in TypeScript•6 minutes
- Practice Quiz: Working with Generics•6 minutes
This final module consolidates your TypeScript learning journey, providing a structured reflection and knowledge check. It reinforces the key concepts explored throughout the course—from core types and objects to functions, generics, and compiler configurations—and highlights how they fit into building scalable, maintainable applications. Learners will also reflect on their progress, engage in dialogue to connect concepts, and demonstrate their understanding through a graded assessment.
What's included
1 video1 reading2 assignments1 discussion prompt
1 video•Total 3 minutes
- Course Summary: Getting Started with TypeScript•3 minutes
1 reading•Total 20 minutes
- From JavaScript to Type Safety: A Practical Journey Through Modern TypeScript•20 minutes
2 assignments•Total 60 minutes
- Getting Started with TypeScript – Scenario Assignment•30 minutes
- End Course Knowledge Check: Getting Started with TypeScript•30 minutes
1 discussion prompt•Total 10 minutes
- Describe your Learning Journey•10 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Explore more from Mobile and Web Development
- Status: Free TrialS
Scrimba
Course
- Status: Free TrialE
Edureka
Course
- C
Coursera
Guided Project
Why people choose Coursera for their career
Frequently asked questions
TypeScript is a superset of JavaScript that adds static typing, compiler checks, and advanced tooling to help developers write safer and more maintainable code.
Yes, a basic understanding of JavaScript fundamentals is recommended, since TypeScript builds directly on top of it.
No, TypeScript code must be compiled into JavaScript, which is then executed by browsers or Node.js.
More questions
Financial aid available,
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
