TypeScript Interview Questions
💡 Click Show Answer to generate an AI-powered answer instantly.
Q31.
What is infer keyword?
Q32.
What is namespace in TypeScript?
Q33.
Explain type narrowing.
Q34.
What is discriminated union?
Q35.
What is function overloading in TypeScript?
Q36.
What is readonly array?
Q37.
What is index signature?
Q38.
What is keyof typeof pattern?
Q39.
What is type compatibility?
Q40.