TypeScript Foundations
Add types to JavaScript with TypeScript: annotations, interfaces, unions and generics.
What you'll learn
- Annotate variables, functions and objects
- Describe data with interfaces and type aliases
- Use union types and narrowing
- Write simple generic functions
About this course
You convert small JavaScript programs to TypeScript and learn the type system step by step. A reviewer checks your final conversion of a small app.
Course curriculum
5 modules and 15 lessons over 4–5 weeks. Plan for about 16 learning hours.
01SetupWeek 1 · 3 lessons
- Installing TypeScript
- tsconfig basics
- Compiling and errors
02Basic typesWeek 2 · 3 lessons
- Primitives and arrays
- Functions
- Objects and interfaces
03NarrowingWeek 3 · 3 lessons
- Union types
- typeof and in checks
- Literal types
04GenericsWeek 4 · 3 lessons
- Generic functions
- Generic interfaces
- Utility types
05Conversion projectWeek 5 · 3 lessons
- Converting a small app
- Fixing type errors
- Reviewer feedback
Project
TypeScript conversion. A small JavaScript app converted to TypeScript with strict checks, reviewed at submission.
Who this course is for
JavaScript learners who want to start with TypeScript.
Prerequisites
You write JavaScript functions, arrays and objects.
What's included
- 180-day course access
- Structured lessons
- Project files
- Code templates
- Checkpoints
- One instructor review
- Support during the program
- A digital completion certificate
Learning format
Guided project course, part of our guided project courses. Checkpoints and one instructor review.
Access and delivery
- Enrollment access is activated within 15 minutes after payment.
- Instructor review is normally completed within 2 business days per submitted checkpoint, and the final certificate is issued within 2 business days after completion.
Certificate
You receive a digital completion certificate. Instructor review is normally completed within 2 business days per submitted checkpoint, and the final certificate is issued within 2 business days after completion.
Frequently asked questions
When does access start?
Enrollment access is activated within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for guided project programs.