Get 20% off all career paths from fullstack to AI
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course introduces TypeScript through lessons and quizzes covering operators, functions, arrays, object types, generics, type inference, unions, narrowing, and nullability.
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
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