Skip to main content
MockAttempt App Icon

Install MockAttempt App

Launch full-screen from your iPhone / iPad Home Screen

  1. Step 1: Tap the Safari Share icon ↑ at the bottom of your screen.
  2. Step 2: Scroll down and tap “Add to Home Screen”, then tap Add.
📝 TOPIC-WISE TIMED MCQ PRACTICE HUB Up to 2 Free Attempts / Topic / Day 🔒 Fixed Non-Negotiable Course Fees • 100% Topic Coverage

Choose Any Course Topic & Attempt Live Timed Mock Tests

Benchmark your engineering skills across 34 industry-aligned IT courses. Practice up to 2 timed Mock Tests per topic every day — and when you are ready for complete mastery, enroll in our Live Online Training (Starting @ ₹1,999) mentored directly by seasoned Industry Experts!

Daily Free Quota 2 / Topic / Day

Timed code-output & architecture MCQs with instant scorecard. Want spoken viva practice too?

🎙️ Switch to Voice + Gemini AI Interview Hub →
Step 1 of 2 • Choose Course Track

Select Any IT Course (34 Courses • 100% Topics Covered)

TypeScript Training Logo
TSCR Full-Stack Type-Safe JavaScript & Systems • Beginner to Staff TypeScript Engineer • 14–16 Weeks • Live + Hands-On Projects (Weekdays: 1.5 Hrs/Day (Mon–Fri) / Weekends: 3.0 Hrs/Day (Sat–Sun))

TypeScript Training — Topic-Wise Mock Tests

Choose any syllabus topic below to start a live timed MCQ exam (max 2 attempts per topic per day). Want structured live classes with a seasoned Industry Expert, all 244 full-length Mock Test sets, real module projects, Live Client Production deployment & Official Internship Letter? Enroll in the complete cohort for just ₹2,499!

Full Syllabus & Projects →
Step 2 of 2 • Click Any Module to Expand & Start Exam

All Modules & Topics in TypeScript Training

✓ 100% Topic Coverage (42/42 Topics Active) Daily Quota Policy: Max 2 Attempts / Topic / Day
Topic 1.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript 5 Overview — Syntactic Superset, Compile-Time Type Erasure & Zero-Cost Abstractions

Purpose: To understand and apply TypeScript 5 Overview — Syntactic Superset, Compile-Time Type Erasure & Zero-Cost Abstractions in real TypeScript systems — specifically: How TypeScript layers a Turing-complete structural type checker and language service over standard JavaScript while erasing all type annotations at emit time, so your code stays reliable, fast, and easy to maintain in production.

Topic 1.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript vs JavaScript — Static Structural Checking vs Dynamic Coercion Traps

Purpose: To understand and apply TypeScript vs JavaScript — Static Structural Checking vs Dynamic Coercion Traps in real TypeScript systems — specifically: Preventing JavaScript’s silent string-concatenation (`"999" + 1 === "9991"`), misspelled property `undefined` propagation, and refactoring regressions at compile time, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Core Features — Structural ("Duck") Typing, Excess Property Checks & Generics

Purpose: To understand and apply TypeScript Core Features — Structural ("Duck") Typing, Excess Property Checks & Generics in real TypeScript systems — specifically: Why TypeScript checks value shapes structurally (`{ id: string }` matches any superset object variable) while enforcing strict Excess Property Checks on fresh object literals, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Installing & Configuring TypeScript 5 — Local `devDependencies`, `tsc --init` & `tsconfig.json` Flags

Purpose: To understand and apply Installing & Configuring TypeScript 5 — Local `devDependencies`, `tsc --init` & `tsconfig.json` Flags in real TypeScript systems — specifically: Setting up deterministic Node.js + TypeScript 5 toolchains (`npm i -D typescript tsx @types/node`) and understanding `strict`, `moduleResolution: "NodeNext" | "Bundler"`, and Node native type stripping, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
First TypeScript Program — Module Scope Isolation, `tsc` Emit Diagnostics & `noEmitOnError`

Purpose: To understand and apply First TypeScript Program — Module Scope Isolation, `tsc` Emit Diagnostics & `noEmitOnError` in real TypeScript systems — specifically: Writing, type-checking, and executing your first strict TypeScript module while preventing legacy script-mode global variable collisions and broken `.js` emit, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Type Hierarchy — Primitives (`string` vs `String`), Top Type `unknown`, `any`, `void` & Bottom Type `never`

Purpose: To understand and apply TypeScript Type Hierarchy — Primitives (`string` vs `String`), Top Type `unknown`, `any`, `void` & Bottom Type `never` in real TypeScript systems — specifically: Mastering the mathematical set hierarchy of TypeScript: `unknown` (universal supertype), primitives (`string`, `number`, `boolean`, `bigint`, `symbol`), `object`, `void`, and `never` (empty set), so your code stays reliable, fast, and easy to maintain in production.

Topic 4.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Type Annotations — Function Signatures, Return Contracts, Object Shapes & Index Signatures

Purpose: To understand and apply TypeScript Type Annotations — Function Signatures, Return Contracts, Object Shapes & Index Signatures in real TypeScript systems — specifically: Placing intentional `: Type` annotations at module boundaries, function parameters/returns, and uninitialized/empty structures so accidental return-shape changes fail immediately inside the function, so your code stays reliable, fast, and easy to maintain in production.

Topic 4.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Type Inference — `const` vs `let` Widening, Contextual Typing & `satisfies`

Purpose: To understand and apply TypeScript Type Inference — `const` vs `let` Widening, Contextual Typing & `satisfies` in real TypeScript systems — specifically: How TypeScript’s Bidirectional Inference Engine deduces narrow literal types on `const`, types inline `.map(x => ...)` callbacks contextually, and validates schemas non-destructively with `satisfies`, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Type Assertions — `as T` Unsoundness Risks, Double Assertions & Safe `as const`

Purpose: To understand and apply TypeScript Type Assertions — `as T` Unsoundness Risks, Double Assertions & Safe `as const` in real TypeScript systems — specifically: Distinguishing dangerous compile-time silencers (`el as HTMLInputElement`, `x as unknown as T`) from safe immutability narrowers (`as const`) and runtime `instanceof` checks, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`null` vs `undefined` in Strict TypeScript — `strictNullChecks`, `?.` & Nullish Coalescing `??`

Purpose: To understand and apply `null` vs `undefined` in Strict TypeScript — `strictNullChecks`, `?.` & Nullish Coalescing `??` in real TypeScript systems — specifically: Distinguishing `undefined` (missing property / uninitialized) from `null` (explicit empty value), JSON serialization differences, and why `??` beats `||` for numeric/boolean defaults, so your code stays reliable, fast, and easy to maintain in production.

Topic 6.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Variables — `const` vs `let` vs `var`, Temporal Dead Zone (TDZ) & `Readonly<T>`

Purpose: To understand and apply TypeScript Variables — `const` vs `let` vs `var`, Temporal Dead Zone (TDZ) & `Readonly<T>` in real TypeScript systems — specifically: Why modern TypeScript forbids `var`, enforces Temporal Dead Zone checks on `let`/`const`, and pairs `const` variable bindings with `Readonly<T>` object immutability, so your code stays reliable, fast, and easy to maintain in production.

Topic 6.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Arrays — `readonly T[]`, Numeric `.sort()` Trap & `noUncheckedIndexedAccess`

Purpose: To understand and apply TypeScript Arrays — `readonly T[]`, Numeric `.sort()` Trap & `noUncheckedIndexedAccess` in real TypeScript systems — specifically: Typing homogeneous and union arrays (`string[]`, `readonly number[]`), avoiding in-place `.sort()`/`.reverse()` caller mutations, and catching `arr[i]` `undefined` reads, so your code stays reliable, fast, and easy to maintain in production.

Topic 7.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Tuples — Fixed-Arity Positional Types, Labeled Elements, Rest Tuples & `readonly` Guard

Purpose: To understand and apply TypeScript Tuples — Fixed-Arity Positional Types, Labeled Elements, Rest Tuples & `readonly` Guard in real TypeScript systems — specifically: Representing React-style `[value, setValue]` hooks, `[lat, lng]` coordinates, and variadic `[first: string, ...rest: number[]]` tuples with per-index static types, so your code stays reliable, fast, and easy to maintain in production.

Topic 7.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Union Types (`A | B`) — Discriminated Unions, Shared Members & `never` Exhaustiveness

Purpose: To understand and apply TypeScript Union Types (`A | B`) — Discriminated Unions, Shared Members & `never` Exhaustiveness in real TypeScript systems — specifically: Modeling algebraic sum types (`Result<T, E>`, payment states, Redux/Signal events) where a shared literal tag (`kind`) narrows the entire object shape automatically, so your code stays reliable, fast, and easy to maintain in production.

Topic 8.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Enums — Numeric Reverse-Mapping Quirks, String Enums & `as const` (`erasableSyntaxOnly`)

Purpose: To understand and apply TypeScript Enums — Numeric Reverse-Mapping Quirks, String Enums & `as const` (`erasableSyntaxOnly`) in real TypeScript systems — specifically: Why `enum` is one of the few non-erasable TypeScript constructs emitting runtime IIFE objects, how numeric enums double-keys via reverse mapping, and why `as const` is often preferred, so your code stays reliable, fast, and easy to maintain in production.

Topic 8.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript `Map<K, V>` — O(1) Hash Lookups, Insertion Order, Non-String Keys & Prototype Safety

Purpose: To understand and apply TypeScript `Map<K, V>` — O(1) Hash Lookups, Insertion Order, Non-String Keys & Prototype Safety in real TypeScript systems — specifically: Using generic `new Map<K, V>()` for high-churn caches, object/number keys, guaranteed insertion-order iteration, O(1) `.size`, and zero `Object.prototype` (`__proto__` / `toString`) collisions, so your code stays reliable, fast, and easy to maintain in production.

Topic 9.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript `Set<T>` — O(1) Membership, Deduplication, `SameValueZero` & Object Reference Caveats

Purpose: To understand and apply TypeScript `Set<T>` — O(1) Membership, Deduplication, `SameValueZero` & Object Reference Caveats in real TypeScript systems — specifically: Eliminating O(N) `Array.includes` bottlenecks with `Set<T>` / `ReadonlySet<T>`, deduplicating primitives (`[...new Set(items)]`), and avoiding duplicate-object reference traps, so your code stays reliable, fast, and easy to maintain in production.

Topic 9.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Decision Making & Control-Flow Narrowing — `if/else`, `typeof null` Trap, `in`, `Array.isArray` & `switch`

Purpose: To understand and apply Decision Making & Control-Flow Narrowing — `if/else`, `typeof null` Trap, `in`, `Array.isArray` & `switch` in real TypeScript systems — specifically: How TypeScript’s Control-Flow Graph tracks `if`, `else`, `return` early exits, `typeof`, `in`, `instanceof`, and `switch (true)` to narrow union types automatically, so your code stays reliable, fast, and easy to maintain in production.

Topic 10.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript Definite Loops — Classic `for`, `for...of` Iterables vs `for...in` Keys & `Object.keys` Widening

Purpose: To understand and apply TypeScript Definite Loops — Classic `for`, `for...of` Iterables vs `for...in` Keys & `Object.keys` Widening in real TypeScript systems — specifically: Iterating arrays, `Map`s, `Set`s, and strings cleanly with `for...of` (`entries()`) while avoiding `for...in` array string-index and prototype-chain pitfalls, so your code stays reliable, fast, and easy to maintain in production.

Topic 10.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TypeScript `Array.prototype.forEach` — `void` Return Ignorance, No `break`, & The `async` Trap

Purpose: To understand and apply TypeScript `Array.prototype.forEach` — `void` Return Ignorance, No `break`, & The `async` Trap in real TypeScript systems — specifically: Understanding `.forEach((item, index) => void)` callback typing, why `break` and `return` cannot exit the outer function, and why `.forEach(async ...)` fires unawaited floating Promises!, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Distributive Conditional Types & the infer Keyword

Purpose: To understand and apply Distributive Conditional Types & the infer Keyword in real TypeScript systems — specifically: Extract Promise payloads, function parameters, and API response shapes automatically, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Recursive Mapped Types & Template Literal Path Parsers

Purpose: To understand and apply Recursive Mapped Types & Template Literal Path Parsers in real TypeScript systems — specifically: Parse \"/orders/:orderId/items/:itemId\" into exact { orderId: string; itemId: string } params at compile time!, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Branded / Nominal Types (UserId vs OrderId, INRPaise) & const Type Params

Purpose: To understand and apply Branded / Nominal Types (UserId vs OrderId, INRPaise) & const Type Params in real TypeScript systems — specifically: Make it a compile error to accidentally pass an OrderId where a UserId is expected, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.4 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
satisfies Operator vs Type Annotations

Purpose: To understand and apply satisfies Operator vs Type Annotations in real TypeScript systems — specifically: Validate config objects against a schema while preserving exact literal autocomplete, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Zod Transforms, Refinements, Discriminated Unions & z.infer

Purpose: To understand and apply Zod Transforms, Refinements, Discriminated Unions & z.infer in real TypeScript systems — specifically: Parse untrusted HTTP/JSON/env inputs at system boundaries into guaranteed TypeScript types, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Typed Result<T, E> Unions vs Untyped Thrown Exceptions

Purpose: To understand and apply Typed Result<T, E> Unions vs Untyped Thrown Exceptions in real TypeScript systems — specifically: Force callers to handle NotFound, QuotaExceeded, and ValidationError explicitly, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
OpenAPI-to-TypeScript Codegen & End-to-End Typed API Clients

Purpose: To understand and apply OpenAPI-to-TypeScript Codegen & End-to-End Typed API Clients in real TypeScript systems — specifically: Catch backend response field renames immediately in frontend CI typechecks, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.4 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Strict TSConfig Hardening (noUncheckedIndexedAccess, exactOptionalPropertyTypes)

Purpose: To understand and apply Strict TSConfig Hardening (noUncheckedIndexedAccess, exactOptionalPropertyTypes) in real TypeScript systems — specifically: Eliminate silent undefined array-index bugs across production codebases, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Polymorphic React Components (as Prop), Forwarded Refs & Discriminated Props

Purpose: To understand and apply Polymorphic React Components (as Prop), Forwarded Refs & Discriminated Props in real TypeScript systems — specifically: Build ergonomic UI components where mutually exclusive props cannot be mixed, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Typed Express Request/Response Generics & Async Middleware Wrappers

Purpose: To understand and apply Typed Express Request/Response Generics & Async Middleware Wrappers in real TypeScript systems — specifically: Flow validated params, query, body, and auth user types cleanly into controllers, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Type-Safe SQL/ORM Query Builders (Prisma / Drizzle / Kysely Concepts)

Purpose: To understand and apply Type-Safe SQL/ORM Query Builders (Prisma / Drizzle / Kysely Concepts) in real TypeScript systems — specifically: Write relational joins where selected column names and nullability are 100% inferred, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.4 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
ECMAScript Decorators, Symbols & AsyncIterators for Streaming Pagination

Purpose: To understand and apply ECMAScript Decorators, Symbols & AsyncIterators for Streaming Pagination in real TypeScript systems — specifically: Consume paginated partner APIs cleanly via for await (const page of client.list()), so your code stays reliable, fast, and easy to maintain in production.

Topic 14.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
TS Project References (composite: true) & Turborepo/pnpm Workspaces

Purpose: To understand and apply TS Project References (composite: true) & Turborepo/pnpm Workspaces in real TypeScript systems — specifically: Typecheck 10-package full-stack monorepos in seconds using incremental .tsbuildinfo caches, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Modern moduleResolution: \"NodeNext\" vs \"Bundler\" & package.json exports

Purpose: To understand and apply Modern moduleResolution: \"NodeNext\" vs \"Bundler\" & package.json exports in real TypeScript systems — specifically: Ship libraries with crisp .d.ts types that work in both Node 22 ESM and Vite bundlers, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Compile-Time Type Assertions (expectTypeOf / @ts-expect-error)

Purpose: To understand and apply Compile-Time Type Assertions (expectTypeOf / @ts-expect-error) in real TypeScript systems — specifically: Write unit tests for your complex generic types so refactors never widen types to any, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.4 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Type-Aware ESLint Rules (no-floating-promises, no-misused-promises) in CI

Purpose: To understand and apply Type-Aware ESLint Rules (no-floating-promises, no-misused-promises) in CI in real TypeScript systems — specifically: Catch unawaited async bugs automatically before code review even begins, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Bridging Compile-Time & Runtime Safety: Schema Inference with Zod / Valibot

Purpose: To understand and apply Bridging Compile-Time & Runtime Safety: Schema Inference with Zod / Valibot in real TypeScript systems — specifically: Guarantee untrusted JSON from APIs, env vars, and forms matches your static TypeScript types at runtime, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Branded / Nominal Types (UserId vs OrderId) & Exhaustive Discriminated Unions (never)

Purpose: To understand and apply Branded / Nominal Types (UserId vs OrderId) & Exhaustive Discriminated Unions (never) in real TypeScript systems — specifically: Make mixing up entity IDs or forgetting an error state a compile-time impossibility, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Template Literal Types, satisfies Operator & Zero-any Generic Builder Patterns

Purpose: To understand and apply Template Literal Types, satisfies Operator & Zero-any Generic Builder Patterns in real TypeScript systems — specifically: Preserve exact literal autocomplete while validating configuration contracts cleanly, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Production tsconfig Hardening: strict, noUncheckedIndexedAccess & exactOptionalPropertyTypes

Purpose: To understand and apply Production tsconfig Hardening: strict, noUncheckedIndexedAccess & exactOptionalPropertyTypes in real TypeScript systems — specifically: Eliminate undefined array-index crashes and subtle optional-property bugs across teams, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
ESM/CJS Module Resolution, Declaration Maps & Project References Build Speed

Purpose: To understand and apply ESM/CJS Module Resolution, Declaration Maps & Project References Build Speed in real TypeScript systems — specifically: Publish dual-compatible libraries and keep IDE type-checking instant on large repositories, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Advanced Type-Level Challenges (Infer, Mapped Modifiers) & Senior TS Interviews

Purpose: To understand and apply Advanced Type-Level Challenges (Infer, Mapped Modifiers) & Senior TS Interviews in real TypeScript systems — specifically: Solve real-world generic typing puzzles and architecture questions without type assertions, so your code stays reliable, fast, and easy to maintain in production.

MockAttempt Academy Pvt. Ltd. • Solution Desk

Raise Course, Placement or College Project Query

Complete Solution Desk: Enquire for Live IT Courses, 100% Placement-Guaranteed* Career Programs, Unplaced / Career-Gap Placement Support, or Ready-to-Submit College / Final-Year Projects (Code + Report + Viva).

🔒 Fixed & Non-Negotiable Course Fees: Course prices are fixed for every student — zero bargaining so we never compromise on Senior Industry Trainers & placement outcomes.