MediumApplyTypeScriptopen_ended
What is a discriminated union? Give an example.
Apply — Tests ability to use knowledge in practical scenarios.
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 32+ more TypeScript questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the TypeScript topic (Programming Languages).