8" :class="scrolled && 'is-scrolled'">
NOA
Labs
Tutorials
Courses
Skill Forge
Explore
Labs
Hands-on live sessions
Mentors
Meet the senior engineers
Projects
Real portfolio-ready builds
Talent Directory
Public student profiles
Mock Interview
Practice with real feedback
ATS Resume Checker
Free instant resume scoring
Search docs
Ctrl K
Login
Join Free
Artificial Intelligence
LangChain
LLMs
Machine Learning
Prompt Engineering
RAG (Retrieval-Augmented Generation)
AJAX
GraphQL
Apache Kafka
Microservices
Node.js
RabbitMQ
REST API
WebSockets
Algorithms
Data Structures
Angular
Bootstrap
CSS
HTML
jQuery
Next.js
Nuxt.js
React
Svelte
Tailwind CSS
Vue.js
ASP.NET Core
Django
.NET
Entity Framework Core
FastAPI
Flask
Gin
gRPC
Hibernate
Laravel
NestJS
Spring
Spring Boot
Spring Cloud
Spring Data JPA
Spring MVC
Spring Security
AWS
Azure
CI/CD
Docker
Git
Kubernetes
Linux
Nginx
Terraform
C
C++
C#
Dart
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Rust
Swift
TypeScript
Database Design
MongoDB
MySQL
Oracle Database
PostgreSQL
Redis
SQL
System Design
↑↓ navigate
↵ open
esc close
Tutorials
/
TypeScript
TypeScript menu
TypeScript Tutorial
JavaScript with static types — interfaces, generics and safer large-scale apps.
Start the TypeScript tutorial →
What you'll learn
1. TypeScript Introduction
Why add types to JavaScript, installing TypeScript, tsconfig.json basics, and compiling with tsc.
2. TypeScript Types Basics
Primitives, interfaces vs type aliases, union/intersection types, arrays, tuples, and optional/readonly properties.
3. Modules and Namespaces
Module resolution strategies, import type, and legacy namespaces for reading older TypeScript code.
4. Advanced TypeScript Types
Generics, utility types like Partial and Pick, and type narrowing with typeof, in and discriminated unions.
5. Advanced Generics and Conditional Types
Generic constraints with keyof, conditional types, the infer keyword, and mapped types with a real validation example.
6. Classes and Decorators
Access modifiers, interfaces implemented by classes, abstract classes, and writing a class decorator.
7. Testing TypeScript
Typing mocks and test helpers, narrowing unknown caught errors, and a complete typed Vitest/Jest test file.
8. TypeScript Interview Questions
Real TypeScript interview questions and answers covering interfaces, generics, unknown vs any, and structural typing.