Quiz Stack
  • About
  • Basics
  • Basics II
  • Basics III
  • Functions
  • Functions II
  • Objects & Interfaces
  • Objects & Interfaces-II
  • Type Aliases & Advanced Types
  • Type Aliases & Advanced Types II
Quiz Stack

© 2026 Quiz. All Rights Reserved.

  • Terms and condition
  • Privacy Policy
  • Contact Page

Ready to Level Up?

Test your knowledge on TypeScript Object Types and Interfaces Quiz (Optional Properties, Readonly, and Excess Property Checks). This quiz contains 10 questions.

Level: Beginner
Topic: object-and-interfaces

Pick the correct interface syntax

Which option correctly defines a TypeScript interface for a user object with: - required `name` (string) - optional `age` (number)

Question 01 / 10